How to get the min value in a tuple in Python

1 Answer

0 votes
tpl = (9, 4, 5, 7, 12, 4, 11, 10)

max_value = min(tpl)

print(max_value)  
  
  
  
'''
run:
  
4
  
'''
 
 

 



answered Jul 25, 2022 by avibootz

Related questions

1 answer 292 views
2 answers 302 views
1 answer 189 views
1 answer 211 views
1 answer 208 views
...