- This event has passed.
6 PM – Intro To Python – Nathaniel
September 21, 2021 @ 6:00 pm - 7:00 pm
Today We Do
- We went over the homework from last week: https://www.ayclogic.com/intro-to-python/star-wars-problem/
Homework
- Review Sep14_Hangman.py codes and come up with at least 2 questions. And ask these questions to Nathaniel next week.
- 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.
- Create Sep28_LoopingEveryLetterInAWord.py file and add the following code
-
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]}")