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))





Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250