Lesson 15 of 26 · about 14 min
Tuples and list comprehensions
A tuple is a list that can't change, perfect for fixed groups like coordinates. A list comprehension builds a whole list in one readable line.
🔓 Unlock this lesson
This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.
In this lesson you'll learn:
- Tuple
- Unpacking
- List comprehension
Free to try in F02 Programming 1: Thinking in Steps:
The first 3 lessons of every course are free, no account needed.