python array max value function code example
Example 1: max int in a python list
>>> L=[2,-7,3,3,6,2,5]
>>> max(L)
6
Example 2: get biggest value in array python3
array = [1,2,3,100,4,5]
biggest = max(array)
print(biggest) # prints 100
>>> L=[2,-7,3,3,6,2,5]
>>> max(L)
6
array = [1,2,3,100,4,5]
biggest = max(array)
print(biggest) # prints 100