Articles → Python → Maximum And Minimum Value In The Collection In Python

Maximum And Minimum Value In The Collection In Python






Example




tuple = (10,5,7,22,11,17)

print("Minimum value in tuple is:", min(tuple))
print("Maximum value in tuple is:", max(tuple))



Output


Picture showing the maximum and minimum value in the collection in python



Posted By  -  Karan Gupta
 
Posted On  -  Monday, February 25, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250