American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6:30 PM – Intro To Python – Sebastian

March 8, 2023 @ 6:30 pm - 7:30 pm

Today We Did
  1. Reviewed star wars homework and worked through the rest of it together
  2. Started hangman game
  3. In case you need anything, feel free to email me at sebastian@ayclogic.com
Homework
  1. Name your homework MAR8_hangman_hw, please submit by next Tuesday.
  2. Homework: In your “MAR8_hangman.py” file, we need to update our hidden_name list when the user guesses the right letter.

    a) Check if the user’s guess was right (if guess in name)
    b) If it was right, then loop through every index (i) in the range of hidden_name
    c) Inside this loop, check if guess is equal to name[i] (the current character of the name) to get the index we need to change
    d) If the guess was equal to the current character, set hidden name at that index (i) to name at that index (i)

Details

Date:
March 8, 2023
Time:
6:30 pm - 7:30 pm
Event Categories:
,
Verified by MonsterInsights