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