36 - Write a program in Python to Input a tuple of numbers and find the smallest number in a list.
T= (5, 8, 9, 6, 2, 5)
print("Tuple is: \n", T)
print("Minimum(Smallest) number of the Tuple = ",min(T))
Output:
Tuple is:
(5, 8, 9, 6, 2, 5)
Minimum(Smallest) number of the Tuple = 2
No comments:
Post a Comment