that the object in the tuple or reaches in the end of the tuple iteration there are many ways to iterate through the tuple object for statement in python has variant which traverses tuple till it is exhausted it is equivalent to for each statement in java its syntax is for var in tuplestmt stmt examplet ( , , , , for var in tprint ( index(var),varoutput built-in tuple functions tuples support the following build-in functionscomparisonif the elements are of the same typepython performs the comparison and returns the result if elements are different typesit checks whether they are numbers if numbersperform comparison if either the element is an numberthen the other element is returned otherwisetypes are sorted alphabetically