American Young Coder (AYC)

AYC logo
Loading Events

« All Events

  • This event has passed.

6 PM – Intro to Python – Joshua

July 18 @ 6:00 pm - 7:00 pm

Today We Did – While Loops
    • While Loops is how we can repeat code without navigating through a list
      • while <conditional/boolean>
      • when the conditional or boolean is True, the loop will repeat indented code until it fails
    • the break function is how we can end a while loop
    • DANGER:  without a way to either turn the conditional to false or a break, while loops can go on for infinity.
    • counters can be used for while loops to only occur a certain number of times
      • count =0
      • while count<=10
        • count+=1
 Homework
  1. Create a file and name it July_25_WhileLoopHw.py and do Try It Yourself 7-4, 7-6, 7-7 on page 123
  2. Create a file and name it July_25_ReviewHW.py and do these problems https://www.ayclogic.com/intro-to-python-exercises/
  3. Upload your answer to google drive before next week Wednesday night.

If you have any questions feel free to email me jwidjanarko@ayclogic.com

Details

Date:
July 18
Time:
6:00 pm - 7:00 pm
Verified by MonsterInsights