Year 9 - Computing
Creating lists in Python
Python programming with sequences of data
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 9 - Computing
Python programming with sequences of data
In this unit pupils will discover how data is represented and processed in sequences, such as lists and strings. They will cover a spectrum of operations on sequences of data, that range from accessing an individual element to manipulating the entire sequence though real world practical activites.
You will learn to create a list in Python and use selection to access and display list items.
Lists are data structures that can store multiple related items in Python. Values held in a list are ordered by index number, with the first item in the list being stored at index [0].
used when there is more than one possible path for a program to follow. Add one real device or system example to prove understanding.
Mistake: A list index starts at 1 as that is the first element in the list and should be counted as the first item. Correction: In most programming languages, list indexing is zero-based, which means the index starts at 0. The number indicates the position before the value is seen.
Browse all guides in the Year 9 Computing guide library.