In Python Built-In tuple max(tuple) function is used to return the elements from the given tuple with maximum value.
Syntax:
There is 1 Parameter used in tuple max(tuple) Function: tuple from which max value to be returned.
Example:
#max() function tuple1= ['TOM', 'JOHN'] tuple2 = [999, 555, 222, 777] print ("Max Value: ", max(tuple1)) print ("Max Value: ", max(tuple2))