Lists are ordered, mutable (changeable) collections.
scores = [85, 92, 78, 95]
names = ["Alice", "Bob", "Charlie"]
mixed = [1, "hello", True, 3.14]
Access: scores[0] = 85, scores[-1] = 95
.append(item) — add to end.insert(index, item).pop(index) — remove & return.remove(value) — remove first match.sort() / .reverse().index(value) — find position.count(value) — how many timesExample:
nums = [3, 1, 4]
nums.append(2) # [3,1,4,2]
nums.sort() # [1,2,3,4]