- This event has passed.
5PM – Summer Intro to Python
June 21, 2021 @ 5:00 pm - 7:00 pm
Today we do
- We learned about the random module
- We learned how to design an 8 ball game
- We started coding a hangman game
Homework
Work on Hangman game (if stuck don’t worry we’ll discuss next class)
- Create a forever loop
- If input is equal to secret_word, stop the loop
- otherwise print “<input> is not correct. please try again.”
If you do your homework properly, it will look like this
Guess a letter or the whole word: dragon dragon is not correct. please try again Guess a letter or the whole word: asdfadsfa asdfadsfa is not correct. please try again. Guess a letter or the whole word: hydra Congratulation, you guessed correctly: hydra
If you want to change your nine lives symbol, the unicode link is below.
https://www.materialui.co/unicode-characters
If you have any questions you can email me at sohan@ayclogic.com