Python Programming

Department of Computing | Imperial College London

book

Lesson 6

Dealing with Sequences of Objects

  • Chapter 1: Introduction
  • Chapter 2: Lists
  • Chapter 3: More on lists
  • Chapter 4: for loops
    • [4.1] for loops
    • [4.2] for loops in action
    • [4.3] continue
    • [4.4] continue the action
    • [4.5] range
    • [4.6] Practise your range!
    • [4.7] More patterns
    • [4.8] for or while?
  • Chapter 5: Applied problem solving
  • Chapter 6: An army of robots
  • Chapter 7: Tuples
  • Chapter 8: Strings as a sequence
  • Chapter 9: Testing and debugging
  • Chapter 10: Sequences style guide
  • Chapter 11: Summary

Chapter 4

for loops

Rough estimated time needed
30 mins (not counting the optional page 4.7)

Previous Next

Page designed by Josiah Wang

Department of Computing | Imperial College London