These are excerpts shown as snippets from a main file named ex43_pycon_out.py. They generally only make sense in the context of the exercise text, but they're shown here separated by H2 heading tags for audible readers like NV Access.
>>> things = ['a', 'b', 'c', 'd'] >>> print(things[1]) b >>> things[1] = 'z' >>> print(things[1]) z >>> things ['a', 'z', 'c', 'd']
>>> stuff = {'name': 'Zed', 'age': 39, 'height': 6 * 12 + 2} >>> print(stuff['name']) Zed >>> print(stuff['age']) 39 >>> print(stuff['height']) 74 >>> stuff['city'] = "SF" >>> print(stuff['city']) SF
>>> stuff[1] = "Wow" >>> stuff[2] = "Neato" >>> print(stuff[1]) Wow >>> print(stuff[2]) Neato
>>> stuff.pop('city') 'SF' >>> stuff.pop(1) 'Wow' >>> stuff.pop(2) 'Neato' >>> stuff {'name': 'Zed', 'age': 39, 'height': 74} >>>