18 lines
417 B
Python
18 lines
417 B
Python
animals = ['bear', 'python3.6', 'peacock', 'kangaroo', 'whale', 'platypus']
|
|
|
|
#1. The animal at 1.
|
|
print(animals[1])
|
|
#2. The third (3rd) animal.
|
|
print(animals[2])
|
|
#3. The first (1st) animal.
|
|
print(animals[0])
|
|
#4. The animal at 3.
|
|
print(animals[3])
|
|
#5. The fifth (5th) animal.
|
|
print(animals[4])
|
|
#6. The animal at 2.
|
|
print(animals[2])
|
|
#7. The sixth (6th) animal.
|
|
print(animals[5])
|
|
#8. The animal at 4.
|
|
print(animals[4])
|