A list holds several values in order, written in square brackets: scores = [8, 5, 9]. Lists can hold anything, including text and other lists, and they can grow and shrink.
Each item has a position called its index, and indexes start at 0, not 1. scores[0] is the first item, scores[2] the third. Negative indexes count from the end: scores[-1] is the last. len(scores) says how many items there are.
fruit = ["apple", "pear", "fig"]
print(fruit[0])
print(fruit[-1])
print(len(fruit))
Prints
apple
fig
3
Lists can change. append(x) adds x at the end, fruit[1] = "plum" replaces an item, remove(x) takes the first x out, and x in fruit asks whether it's there.
A slice takes part of a list: nums[1:3] gives the items at index 1 and 2 (it stops before 3, like range). Leave out a side to go to the end: nums[:2] is the first two, nums[2:] everything from index 2.