Tuesday, September 27, 2011

LPTHW Exercise 34

In this exercise we learn how to get elements from a list.

animals = ['bear', 'python', 'peacock', 'kangaroo', 'whale', 'platypus']

print "The first animal is %s" % animals[0]

I did not create any Python files for this exercise. Did it in the console.

No comments:

Post a Comment