# File Lists01.py
# Rev 2/4/00
# Copyright 2000, R. G. Baldwin
# Illustrates creating, 
#  indexing, and slicing lists.
#
#-------------------------------

theList = [3.14,59,"A string",
           1024]
print "Print index value 2"
print theList[2]
print "Print a short slice"
print theList[0:3]
print "Print the entire list"
print theList[:100]

Figure 7