The parentheses don't make a tuple, the comma does.
l = [1, 2, 3, 4] # l is a list. Iterating returns the 4 elements (l) # This is just a different expression of the list (l,) # this is a tuple with a single element (the list "l")
>>> len(l), type(l) (4, <class 'list'>) >>> len((l)), type((l)) (4, <class 'list'>) >>> len((l,)), type((l,)) (1, <class 'tuple'>)You can put any of them after the
in
in the loop designation and see how the elements will be iterated.