Python max function is a Python built-in function that returns the highest value from the iterable. If the value is a string, Then an alphabetical comparison will be done.