American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro to Python – Darin

July 27, 2023 @ 6:00 pm - 7:00 pm

What We Did Today:

  1. Reviewed homework for animal_list, understanding how to use if statements inside of for loops (reviewing how to add items to a list)
  2. Understanding how to use for loop with the range() function
  3. Understanding that range() function only takes in an integer
  4. Get input from shell to specify how many times we want to loop

 

Homework:

  1. Create python file named ForLoopRangeHW.py and when finished upload to google drive
  2. Page 56 try it yourself 4-1 and 4-2 (this is just a review of what we learnt already)
  3. Page 60 try it yourself 4-3 and 4-4
  4. Email me at ddjapri@ayclogic.com if you have any questions, especially for try it yourself 4-4 which can be confusing

Note:

For the try it yourself 4-4, you would have to start by creating an empty list and then using the .append method in a for loop of range 1 million

 

 

Details

Date:
July 27, 2023
Time:
6:00 pm - 7:00 pm
Event Categories:
,
Verified by MonsterInsights