Iterating through data structures
Lesson 5 / 6
Lesson video
0:00 / 0:00
Lesson slides
Lesson details
Lesson outcome
I can use iteration to repeatedly add items to lists and check the contents of a string.
Show transcript
Condition-controlled iteration is implemented using while loops in Python.
A string is like a list in structure but is immutable, so elements cannot be changed, added or removed.
Some operations that can be performed on lists can also be performed on strings.
Worksheet
not available yet
Quizzes
This quiz is not available yet.
What pupils see
The same lesson as a pupil sees it. You can set any section as work on its own.
- IntroductionPrepare · Not available
- Starter quizActivate · Not available
- Lesson videoLearn
- Exit quizCheck · Not available
This content is by Cashar and published under an open licence.