What is the use of max function

how to use the max function and where we can use it ??

Max() is basically used whenever we want to find the maximum number present in a data type( such as list , tuple ) , we can also send multiple arguments in the max() function and it will return us the max value present among those arguments .
Eg-

  1. max(1,2,5,9,10) will return 10
  2. a=[1,2,9,7,8]
    Max(a) will return 9

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.