American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro to Python – David

February 12, 2022 @ 6:00 pm - 7:00 pm

Topics covered in class today:

  • We reviewed the homework, covering random.choice and the rest of the star wars problems
  • Started learning how to create the hangman game and checking if a character is in a word

Homework:

  • Try to finish the logic in our hangman game for when the user inputs a character that is not in the word. (for example, if the user selects “e” which is not in “dragon”). If the game ends because the user selected too many incorrect characters, print a message saying “You have lost the game! The word was {word}”

Details

Date:
February 12, 2022
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights