In this python tuple program, we will find the maximum value from a tuple.
Steps to solve the program
- Create a tuple.
- Find the maximum value from a tuple using max().
- Print the output.
tup = (41, 15, 69, 55)
print("Maximum value: ",max(tup))
Output :
Maximum value: 69
1 thought on “Find the maximum value from a tuple”