American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6PM – Intro to Python – Latisha

March 2, 2022 @ 6:00 pm - 7:00 pm

Today We Did:
  1. Finished Magic 8 Ball with choice and randint
  2. Started Hangman
Homework:
  1. 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
  2. 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

Details

Date:
March 2, 2022
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights