Skip to content
Sign upLog in
Profile icon

Gabriel

@gabrielbarsani
Beginner Programmer learning from zero. Also, looking forward to get a job in IT and learn computer graphics!
LinkedIn
Repls
Community
gabrielbarsani
gabrielbarsani
published a Repl
3 months ago
0
Higher or Lower // Who has more followers?
Higher or Lower // Who has more followers?Description: This game is based on the web browser game 'Higher or Lower' and it's programmed in Python 🐍 #OBS: The game will take a while to run because it has to load some packages . Instructions: The main objective of this game is to get the highest score. Type 1 to choose the first option or type 2 for the second one. You just have one chance. If you give the wrong answer, you lose.
#games
#python
gabrielbarsani
gabrielbarsani
published a Repl
3 months ago
1
GUESS A NUMBER
GUESS A NUMBERIt's a game you have to guess a number that the computer picked up randomly from a range of 1 to 100. It's simple as that! :)
gabrielbarsani
gabrielbarsani
published a Repl
3 months ago
0
Blackjack in Python!
Blackjack in Python!Our Blackjack House Rules The deck is unlimited in size. There are no jokers. The Jack/Queen/King all count as 10. The the Ace can count as 11 or 1. Use the following list as the deck of cards: cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10] The cards in the list have equal probability of being drawn. Cards are not removed from the deck as they are drawn. The computer is the dealer. #100daysofcode
gabrielbarsani
gabrielbarsani
published a Repl
4 months ago
0
Python Auction
Python AuctionA simple and functional secret auction program. You enter your name, your bid, and then give room for the next bidder to add his data. When there's no more bidders, the auction's winner is printed. Please, try it out :)
JonathanBlanka1
JonathanBlanka1
WOWOWOWOWOWOWOWOWO4 months ago
gabrielbarsani
gabrielbarsani
published a Repl
4 months ago
0
Encode your text with Caesar Cipher!
Encode your text with Caesar Cipher!In cryptography, a Caesar cipher is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in a text is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence. [Wikipedia] This program does the whole encryption/decryption with any text you input. Now have a go and give a comment!
gabrielbarsani
gabrielbarsani
published a Repl
4 months ago
0
SUPER HANGMAN GAME [+200 words!!!]
SUPER HANGMAN GAME [+200 words!!!] This is the definitive Python version of the famous Hangman game, with plenty of words for you to play around!
gabrielbarsani
gabrielbarsani
published a Repl
4 months ago
0
SUPER HANGMAN GAME [+200 words!!!]
SUPER HANGMAN GAME [+200 words!!!] This is the definitive Python version of the famous Hangman game, with plenty of words for you to play around!
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
ULTRA PASSWORD GENERATOR
ULTRA PASSWORD GENERATORGet a customizable, random password with this program. 💥
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
ULTRA PASSWORD GENERATOR
ULTRA PASSWORD GENERATORGet a customizable, random password with this program. 💥
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
Average Height Calculator !!!
Average Height Calculator !!!This calculator makes use of for loops. Check the class students average height. input ex: 165 178 180 183 172
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
Rock_Paper_Scissors [Begginers Project]
Rock_Paper_Scissors [Begginers Project]Could anybody suggest a cleaner way to write this code? I think my approach could've been much better, but I don't know how to improve it.
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
Practical Tip Calculator !
Practical Tip Calculator !Going to a restaurant with friends? Give this calculator a go and find out the total bill.
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
Who' s  Gonna Pay The Bill  💲  💲  💲
Who' s Gonna Pay The Bill 💲 💲 💲 Give the name of your friends and see who's gonna pay the bill in this bank roulette.
Harveylegoodie
Harveylegoodie
hm5 months ago
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
47
Love Calculator ❤️
Love Calculator ❤️This calculator basically works likes this: it'll check how many letters of your name and your supposed loved one match with the sentence "True Love". You get in the end a number (total points). The higher your score, the best are your chances together :)
s316602
s316602
I did Russia and Ukraine the score was 51... 1 month ago
RamChinamalli
RamChinamalli
This is the code print("Welcome to the Love Calculator!") name1 = input("What is your name? \n") name2 = input("What is their name? \n") variable_name1 = name1.lower() variable_name2 = name2.lower() #Counting for each letter [name1] T = variable_name1.count("t") R = variable_name1.count("r") U = variable_name1.count("u") E = variable_name1.count("e") L = variable_name1.count("l") O = variable_name1.count("o") V = variable_name1.count("v") E = variable_name1.count("e") #Counting for each letter [name2] T2 = variable_name2.count("t") R2 = variable_name2.count("r") U2 = variable_name2.count("u") E2 = variable_name2.count("e") L2 = variable_name2.count("l") O2 = variable_name2.count("o") V2 = variable_name2.count("v") E2 = variable_name2.count("e") #total points total_points_FirstDigit = (T + R + U + E) + (T2 + R2 + U2 + E2) total_points_SecondDigit = (L + O + V + E) + (L2 + O2 + V2 + E2) Two_Digit_Number = int(str(total_points_FirstDigit) + str(total_points_SecondDigit)) #printed results function def printed_results(): if Two_Digit_Number < 10 or Two_Digit_Number > 90: print(f"Your score is {Two_Digit_Number}, you go together like coke and mentos.") elif 40 < Two_Digit_Number < 50: print(f"Your score is {Two_Digit_Number}, you are alright together.") else: print(f"Your score is {Two_Digit_Number}.") #Condition and the function calling if variable_name1 == "true love" or variable_name2 == "true love": print("""Wait, try something different from "True Love!" """) else: printed_results() 1 month ago
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
gabrielbarsani
gabrielbarsani
published a Repl
5 months ago
0
WildGloriousVolume - Leap Year Calculator
WildGloriousVolume - Leap Year CalculatorThis was really tricky for me, but I think I managed to make it work (I'm a beginner).