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 291 views
2 answers 299 views
1 answer 186 views
1 answer 210 views
1 answer 204 views
...