- This event has passed.
6 PM – Intro To Python – Darin
October 24, 2023 @ 6:00 pm - 7:00 pm
What We Did Today:
- Reviewed operations on lists
- Introduced using for loops with lists
Homework:
Create a file called Oct24_ListForLoopsHW.py and submit it into the google drive when you are finished.
- Do the following exercise: www.ayclogic.com/animal-list-and-for-loop-exercises/
To create an empty list, you can do lst = []
To get input from the shell, use input(“Please input an animal name: “), and then put the result in a variable
Do this four times with four different variables and append them into the list and continue with the rest of the exercise.
Notes:
If you have any questions, email me at ddjapri@ayclogic.com