American Young Coder Academy – Indo

Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Python – Nathaniel

September 21, 2021 @ 6:00 pm - 7:00 pm

Today We Do
  1. We went over the homework from last week: https://indo.ayclogic.com/intro-to-python/star-wars-problem/
Homework
  1. Review Sep14_Hangman.py codes and come up with at least 2 questions. And ask these questions to Nathaniel next week.
  2. If you guys don’t have questions, that means you already understand the Hangman game, so Nathaniel is going to ask you some questions. Be ready.
  3. Create Sep28_LoopingEveryLetterInAWord.py file and add the following code
  4. for index in range(10):
        print(index)
    
    secret_word = "dragon"
    num_of_letters = len(secret_word)
    print(num_of_letters)
    
    print(f"First letter = {secret_word[0]}")
    print(f"Last letter = {secret_word[5]}")

Details

Date:
September 21, 2021
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights