python maximum number of element in list code example Example: max int in a python list >>> L=[2,-7,3,3,6,2,5] >>> max(L) 6