Join free to take this lesson
Anyone can look around, but taking a lesson needs a free account. With one, your answers are checked step by step and your progress is saved, so you can stop and pick up where you left off on any device.
13 steps ยท about 20 min
By the end you can
- Make a list of readings with square brackets
- Pick out a reading by its index, counting from 0
- Use list[-1] for the last reading and len for how many
- Add a reading to the end with append
- Read an IndexError
Who it is for: Anyone who has done lessons 3.1 to 3.3, and physics lesson 1.5 (repeated measurements).
The steps
- A first guess
- A list
- Counting from 0
- Run it
- The third reading
- Pick a reading
- The last one, and how many
- The last reading
- How many readings?
- Out of range
- Adding a reading: append
- A new timing
- Counting from 0
Discussion 0 comments
Log in to join the discussion.