Find the minimum value from a tuple

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

Steps to solve the program
  1. Create a tuple.
  2. Find the minimum value from a tuple using min().
  3. Print the output.
				
					tup = (36,5,79,25)
print("Minimum value: ",min(tup))
				
			

Output :

				
					Minimum value:  5
				
			

find the maximum value from a tuple.

create a list of tuples from a list having a number and its square in each tuple.

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

Leave a Comment