Find the maximum value from a tuple

In this python tuple program, we will find the maximum value from a tuple.

Steps to solve the program
  1. Create a tuple.
  2. Find the maximum value from a tuple using max().
  3. Print the output.
				
					tup = (41, 15, 69, 55)
print("Maximum value: ",max(tup))
				
			

Output :

				
					Maximum value:  69
				
			

create a tuple with 2 lists of data.

find the minimum value from a tuple.

1 thought on “Find the maximum value from a tuple”

Leave a Comment