Run
x = -523 absVal = abs(x) print(f'Absolute value of {x} is {absVal}.')
Output