Page 299 - Beginning Programming with Pyth - John Paul Mueller
P. 299
FIGURE 13-3: Python displays the content of List1.
FIGURE 13-4: Python provides a listing of the actions you can perform using a list. Accessing Lists
After you create a list, you want to access the information it contains. An object isn’t particularly useful if you can’t at least access the information it contains. The previous section shows how to use the print() and dir() functions to interact with a list, but other ways exist to perform the task, as described in the following steps.