myTuple = (1, 2, 3) for x in myTuple: print(x) """ Output: 1 2 3 """
myTuple = (1, 2, 3) i = 0 while i < len(myTuple): print(myTuple[i]) i = i + 1 """ Output: 1 2 3 """