absolute value function math python code example Example: absolute value python value = -54.26 abs(value)