Coding Exercise #10
🌶️
Create a for loop below the existing code where you loop through all the tuples of elements and print out the second element of each tuple in the loop.
elements = (
(1, 4),
(4, 5),
(6, 7),
(1, 3)
)Click below to code your solution on your browser now:
Use the button below to see our solution:



elements = ((1, 4), (4, 5), (6, 7), (1, 3))
for element in elements:
print(element[1])
elements = ((1, 4), (4, 5), (6, 7), (1, 3))
for element in elements:
print(element[1])