What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-06 18:55:18
min max code in python
listA = [18, 19, 21, 22] print('The smallest number from listA is:', min(listA)) # 18 print('The largest number from listA is:', max(listA)) # 22 strA = 'AppDividend' print('The smallest character from strA is:', min(strA)) # A print('The largest char... Add solution
Best helpers
Ranking is empty