find absolute value of float in python code example Example 1: python absolute value >>>abs(-15) 15 Example 2: take absolute value in python val = -85 abs_val = abs(val)