Please enable JavaScript to use CodeHS

Introduction to Python Programming

Looping

Students learn how to write more efficient code by using loops as shortcuts.

Lessons

7.1 While Loops

  • While Loops
  • While Loops
  • Guess My Number
  • Program Tracing
  • Program Tracing, Part 2
  • +2 more

7.2 For Loops

  • For Loops
  • For Loops
  • Print 10 Numbers
  • 1 Through 10, Part 2
  • Counting 10 to 100 by Tens
  • +6 more

7.3 Break and Continue

  • Break and Continue
  • Break and Continue
  • Break
  • Continue
  • Bike Frame Size
  • +3 more

7.4 Nested Control Structures

  • Nested Control Structures
  • Nested Control Structures
  • Double For Loop
  • Average Test Score, Part 2
  • For Loop + While Loop
  • +2 more

7.5 Looping Quiz

  • Looping Unit Test