correct way to call function get max number in python code example Example: how to get maximum value of number in python float('inf')