How to use max/min function in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use max/min function in python?

How to use max/min function in python?write down some examples plz

8th Oct 2020, 12:11 PM
Rudraksh Das
2 Answers
+ 3
Build in function that you can use with lists as in this code https://code.sololearn.com/cSeRe0g8xRUK/?ref=app
8th Oct 2020, 12:17 PM
HBhZ_C
HBhZ_C - avatar
0
list=[1,4,5,6,] print('my list: ',list) print('minimum of list: ',min(list)) print('maximum of list: ',max(list))
22nd Dec 2021, 10:49 AM
SANVIKA