« All Events
10 AM – Intro To Python – Darin (Riley Class)
August 12, 2023 @ 10:00 am - 12:00 pm
What We Did Today:
- Covered the topic of lists, how to modify lists by adding, removing, or replacing elements
- Covered the topic of for loops, using lists as well the range function to iterate a certain number of times
- Tried implementing for loops with conditionals (if statements inside of for loops)
Homework:
- Create a file called Aug12_ListForLoopsHW.py
- Create an empty list, and then add numbers from 1- 100 inclusive to the list using a for loop.
- Modify the list, doubling every value by 2.
- Print out the first 10 elements using the range function in a for loop.
NOTES:
- If you have any questions, email me at ddjapri@ayclogic.com.