im a big fan man! you are the best youtuber for python learning and much more i ever seen! i swear!
@spectrogames85 ай бұрын
I literally made this the day before and yours is completely different from mine
@Winner1vz2 ай бұрын
same
@reminderIknows5 ай бұрын
when i first tried python, i made a hangman game on my own. and it worked much better than expected, everything was fully functional. goes to show that you can learn things easier when it's very similar to something else. (very similar to lua, my main language)
@Jjaewalker2 ай бұрын
This is literally what im doing now lmao I paused to watch this video
@SGM_265 ай бұрын
Nice, was waiting for another game
@browtfareyou5 ай бұрын
thanks bro, you are the goat python teacher 🐐🐐🐐
@zohaibwaris-q8x4 ай бұрын
BRO WON THE GAME LIKE CRAZY FAST (GIGA CHAD)
@thebolt18065 ай бұрын
Can you please show us one capstone project as well
@nyashachamunokara978725 күн бұрын
Hey Bro! Awesome video as always! At 22:36 is there ever a situation whereby our wrong guesses can be greater than 6 and game still continues to play? If not: then should you not have used this code instead (at line 74): if wrong_guesses == 6:
@dysoneducationАй бұрын
Bro is low-key the Best programming teacher in the world 🎉🎉😊
@hybridclasher1235 ай бұрын
I would love if you make a video on pytorch and neural networks in python.
@Akash-wi4yz5 ай бұрын
Hey! Love your vids man. Can you do a Binary file vid next(I have doubts on writing multiple lines and accessing them). I have an exam on it in 2 days.
@f1yEditssX5 ай бұрын
Why didnt this blow up yet
@serjan5345 ай бұрын
thank you sir. best teacher
@kedarp89755 ай бұрын
Make guides on pandas too!!!
@rzyrandol58485 ай бұрын
what editor do u use?
@tadeucpii2 ай бұрын
What if I wanted to make possible to vuess the full word?
@kedarp89755 ай бұрын
Love u broo❤❤
@sidnotthesloth18275 ай бұрын
Thanks bro!
@johnm32293 ай бұрын
10:31
@artificialintelligencebird5 ай бұрын
Love your videos! Can you make full course for Rust?
@MiguelNunes-t2s5 ай бұрын
Actually it's really good because I want to learn rust but I couldn't find a good video to learn rust, and this guy is the best at coding tutorials
@artificialintelligencebird5 ай бұрын
@@MiguelNunes-t2s same I want to learn Rust too
@WongKaiJun-n5y7 күн бұрын
goat
@ItsMyAntiDrug3 ай бұрын
I'm sure this is fun but mine is not working :_;
@jimams_jamz55183 ай бұрын
6:43
@jimams_jamz55183 ай бұрын
10:16
@jimams_jamz55183 ай бұрын
14:50
@SARVESHDevalekar4 ай бұрын
My CODE: import random words = { "Lion": "Mammal", "Elephant": "Mammal", "Tiger": "Mammal", "Bear": "Mammal", "Giraffe": "Mammal", "Eagle": "Bird", "Parrot": "Bird", "Penguin": "Bird", "Sparrow": "Bird", "Owl": "Bird", "Snake": "Reptile", "Lizard": "Reptile", "Turtle": "Reptile", "Crocodile": "Reptile", "Chameleon": "Reptile", "Frog": "Amphibian", "Toad": "Amphibian", "Salamander": "Amphibian", "Newt": "Amphibian", "Salmon": "Fish", "Tuna": "Fish", "Goldfish": "Fish", "Shark": "Fish", "Clownfish": "Fish", "Butterfly": "Insect", "Ant": "Insect", "Beetle": "Insect", "Dragonfly": "Insect", "Spider": "Arachnid", "Scorpion": "Arachnid", "Tick": "Arachnid", "Harvestman": "Arachnid", "Daddy Longlegs": "Arachnid" } hangman_art={0:(" ", " ", " "), 1: (" o ", " ", " "), 2: (" o ", " | ", " "), 3: (" o ", "/| ", " "), 4: (" o ", "/|\\", " "), 5: (" o ", "/|\\", "/ "), 6: (" o ", "/|\\", "/ \\")} def disp_man(art,attemptNum): for i in art[attemptNum]: print(i) def disp_Blanks(blanks): print(" ".join(blanks)) count=0 ans_List=[] def check(guess,answer,blanks): global count global attemptNum global running global ans_List if guess=='quit': running=False elif guess in answer: for i in range(len(answer)): if answer[i]==guess: blanks[i]=guess ans_List.append(guess) count+=1 else: attemptNum+=1 print(f'Worng Guess...Try again') attemptNum=0 running=True def main(): global attemptNum global running global ans_List rmdPair=random.sample(list(words.items()),1) answer=rmdPair[0][0].lower() hint=rmdPair[0][1] blanks=['_'] * len(answer) while running: disp_man(hangman_art,attemptNum) print(f'Hint: {hint} ') disp_Blanks(blanks) guess=input('Enter the guess: ') if guess in ans_List: print(f'\'{guess}\' IS PREVIOUSLY USED... CANNOT USE AGAIN') attemptNum+=1 continue check(guess,answer,blanks) if len(ans_List)==len(answer): print(f'____CORRECT____') break elif attemptNum==6: disp_man(hangman_art,attemptNum) print(f'WRONG GUESSES.... ANSWER= {answer}') running=False if __name__=='__main__': main()
@zohaibwaris-q8x4 ай бұрын
I Played Your game It's good.
@allennaik44345 ай бұрын
thanks Bro
@Felipells2633Ай бұрын
im doing this : import random words = ("apple", "orange", "banana", "pineapple", "coconut") #dictionary of key:() hangman_art = {0: (" " " " " "), 1: (" o " " " " "), 2: (" o " " | " " "), 3: (" o " "/| " " "), 4: (" o " "/|\\ " " "), 5: (" o " "/|\\" "/ "), 6: (" o " "/|\\" "/ \\")} for line in hangman_art[0]: print(line) but instead of printing like in the video is showing like this : o / |
@Felipells2633Ай бұрын
my god i forget the , in each key thats why going to leave this here so i can remember my newbness
@EmilioAt775 ай бұрын
Bro, you legend ❤️❤️
@KyriproShorts5 ай бұрын
Sure! Lets do it..... Wait why is it not working??? Error, Error, Error, Error.