min() and max() in Python

 min() and max() in Python 


with the help of max() function we can get maximum in list and with the help of min() function we can get minimum in list.

For Example :-

  1. list=[5,45,12,36,47,85] 
  2. print(max(list)) 
  3. print(min(list)) 

Comments

Popular posts from this blog

Programmingshark index 6

Proassignmenthelp index 12

Proassignmenthelp index 27