American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

7 PM – Intro to Python – Isaac

June 16 @ 7:00 pm - 8:00 pm

Today, we
  1. Reviewed printing lists with for loop
  2. Reviewed printing numbers with while loop and +=
  3. Use while loop to make a “say quit to stop” loop
  4. Break to stop infinite loop
  5. Ask user for their age until they say quit
  6. Append all even or odd numbers to a list
  7. For loops with strings
Homework
  1. Copy code from pages 57 to 58 of the textbook. Save it to a file called June_16_for_loop_range_homework.py
  2. Copy code from pages 117 to 121 of the textbook. (Page 117 starts at “Introducing while loops”). Save it to a file called June_16_while_loop_homework.py
  3. Try It Yourself on page 123 (7-4, 7-5, 7-6, 7-7). Also save it to June_16_while_loop_homework.py

Details

Date:
June 16
Time:
7:00 pm - 8:00 pm