American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

4 PM – Intro To Python – Gamas

October 31, 2020 @ 4:00 pm - 5:00 pm

  1. Homework:
    1. In Oct31_ListIndex.py, in the class we were doing a for loop. Inside the for loop do the following
      1. Find the index where “answer” variable exists in the “secret_word”.
      2. Use the index number to update the “?” inside the “clue” variable with “answer” variable
      3. For example, if the “secret_word” is “dragon” and the “answer” is “a”, then the “clue” variable will be come [“?”,”?”,”a”,”?”,”?”,”?”]
      4. Using the same technique, go to Oct24_hangman.py and replace the “?” inside the “clue” variable.

Details

Date:
October 31, 2020
Time:
4:00 pm - 5:00 pm
Event Categories:
,