Advanced Programming - Python Review Day 3
Unit 1, Day 3
Mr. Jones | Computer Programming, Advanced
Come on in - sit anywhere you like
- Find your nametag and stand it up on your desk
- Write a Python program that makes change using only quarters:
- Ask for how much change you need to make
- If you can make that using only quarters, respond with the number of
quarters needed
- Otherwise, print “sorry, I only have quarters”
Plan for the next few classes
Next few classes:
- Last Class: Conditionals
- Today: Loops
- Wednesday: Functions
- Friday: A project
- Tuesday: A quiz
Review Python Loops and Sequences
Practice While Loops:
Do these exercises in CodeHS:
- 5.1.6 2 Through 20 Even
- 5.1.7 Divisibility
Practice For Loops
Do these exercises in CodeHS:
- 5.2.5 Counting 10 to 100 by Tens
- 5.4.6 Rolling Dice