what does python max do code example Example 1: how to get maximum value of number in python float('inf') Example 2: max function python max([2, 1, 4, 3])