animals = ["cat", "bird", "dog"]
#enumerate (For Index, Element)
for i, element in enumerate(animals,0):
print(i, element)
for x in enumerate(animals):
print(x, "UNPACKED =", x[0], x[1])
'''
0 cat
1 bird
2 dog
(0, 'cat') UNPACKED = 0 cat
(1, 'bird') UNPACKED = 1 bird
(2, 'dog') UNPACKED = 2 dog
'''