Most real programs repeat work across collections of data. Starting from basic variables and conditionals, you'll master Python's for loop to walk through lists and strings, generate number sequences with range(), and combine loops with counters and conditions to summarize and filter data.
Overview
Syllabus
- Unit 1: Mastering Python For Loops
- Greet Every Name in the List
- Add a Price Conversion Loop
- Loop Over the Characters in a Word
- List Every Chore and Finish
- Unit 2: Mastering Python Range Loops
- Send Four Numbered Reports
- Step Through Pipeline Checkpoints
- Count Down to Deployment
- Number the Deployment Stages
- Unit 3: Building Memory in Loops
- Total the Daily Donations
- Count the Books Without len()
- Average the Donations
- Build the Magnification Product
- Unit 4: Filtering Data with For Loops
- Count the Fast Speed Readings
- Sum the Mid-Range Donations
- Print the Low-Stock Items
- Track Two Reply Conditions