American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro To Python – Darin

October 24, 2023 @ 6:00 pm - 7:00 pm

What We Did Today:

  1. Reviewed operations on lists
  2. 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.

  1. 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

Details

Date:
October 24, 2023
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights