how to print the maximum number in python code example Example: how to get maximum value of number in python float('inf')