Lists and tuples
Store many values, change them, and build lists in one line.
A list holds items in order and can change. A tuple looks similar but is fixed, which suits data like coordinates.
Expected output
['Git', 'HTML', 'Python'] 3 True
Sorting and adding up
Expected output
[60, 72, 88, 95] 95 60 78.75
List comprehensions
A short way to build one list from another. Interviewers like to see this.
Expected output
[1, 4, 9, 16, 25, 36] [2, 4, 6]
Tuples
Expected output
11 77