max in list python call function code example Example: max func in python max([2, 1, 4, 3]) #Returns 4 as it's the largest integer in the list