Today we did:
- Reviewed functions
- Started working on Hangman game
Homework:
- Continuously (forever loop) get user input and ask the user “Guess a letter or the whole word: ” and save the input into a variable called user_guess. If the user’s guess is equal to the secret word, break from the loop and print “Congratulations you have won the game”.
- Example output:
Secret word is kraken
Guess a letter or the whole word: asd
Guess a letter or the whole word: dragon
Guess a letter or the whole word: kraken
Congratulation you have won the game.
If you have any questions, please send an email to latisha@ayclogic.com