- This event has passed.
6PM – Intro to Python – Latisha
March 2, 2022 @ 6:00 pm - 7:00 pm
Today We Did:
- Finished Magic 8 Ball with choice and randint
- Started Hangman
Homework:
- Work on Hangman
- Keep printing the number of lives using the symbols
- Keep asking the user “Enter a letter or the whole word: “
- If the user enters word that is equal to the secret_word, exit the loop
- If you did it correctly, it should be like below
secret_word: hydra ['?', '?', '?', '?', '?'] ☂☂☂☂☂☂☂☂☂ Guess a letter or the whole word: a ['?', '?', '?', '?', '?'] ☂☂☂☂☂☂☂☂☂ Guess a letter or the whole word: b ['?', '?', '?', '?', '?'] ☂☂☂☂☂☂☂☂☂ Guess a letter or the whole word: hydra
- NOTE: Please submit your homework file inside the google drive folder Tuesday at 5pm
If you have any questions, please send an email to latisha@ayclogic.com