Write a program to input a tuple containing 5 numbers from the user. Print the maximum and minimum number from this tuple
Answers
Answered by
2
Answer:
t=tuple() n=int(input("Total number of values in tuple")) for i in range(n): a=input("enter elements") t=t+(a,) print ("maximum value=",max(t)) print ("minimum value=",min(t))
i hope it I helpful for you
pls mark my answer a s a brainliest answer
Similar questions