- This event has passed.
11 AM – Intro To Python – Gamas
November 7 @ 11:00 am - 12:00 pm
Today We Did
- We learned more about for loop
Homework
- Create a new file nov_7_for_loop_list_hw.py
- copy codes from page 54 to 55.
- And answer TRY IT YOURSELF 4.1 and 4.2
- Also copy below codes
-
cities = ["los angeles", "arcadia", "alhambra"]
- Write new codes to use for loop to print the cities from the above list one line at a time. This is very similar to what we did in the class today inside nov_7_list_reviiew.py
- Write new codes to add two more cities into the list using .append, if you forget how to do this look at page 37 or you can also look at nov_7_list_review.py
- pasadena
- temple city
- Use for loop to print “I love sprunkalicious!!” 20 times. Remember, you have to use for loop. If you forget on how to do this look at nov_7_for_loop_no_list.py