how to check for the max in a list python code example Example: max int in a python list >>> L=[2,-7,3,3,6,2,5] >>> max(L) 6