Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Iterating with For Loops in Python

via CodeSignal

Overview

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.

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

Reviews

Start your review of Iterating with For Loops in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.