1list_of_tuples = [("Betty", 45), ("John" , 84), ("Malik" , 34), ("Jose" , 20)]
2
3
4for index, tuple in enumerate(list_of_tuples):
5
6 element_one = tuple[0]
7 element_two = tuple[1]
8
9 print('Index:', index, element_one, element_two)
10
11>>> Index: 0 Betty 45
12 Index: 1 John 84
13 Index: 2 Malik 34
14 Index: 3 Jose 20
1coordinates = [(0,0),(0,3),(1,0),(1,2),(1,3)]
2
3for (i,j) in coordinates:
4 print i,j