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
Posted By - | Karan Gupta |
|
Posted On - | Monday, February 25, 2019 |