Lists
- a = [99, "bottles of beer", ["on", "the", "wall"]]
Flexible arrays, not Lisp-like linked lists
Same operators as for strings
- a+b, a*3, a[0], a[-1], a[1:], len(a)
Item and slice assignment
- a[0] = 98
- a[1:2] = ["bottles", "of", "beer"]
-> [98, "bottles", "of", "beer", ["on", "the", "wall"]]
- del a[-1] # -> [98, "bottles", "of", "beer"]