largest python function code example Example: python max() i = max(2, 4, 6, 3) print(i) # Result will be 6 because it is the highest number