Looping over a tuple

Just like with lists, to loop through each item in a tuple, the for loop can be used:

names = ['Maria', 'Lucy', 'Angelina', 'Tanya']

for name in names:
print(name)

>>>
Maria
Lucy
Angelina
Tanya
>>>
Geek University 2022