how to take abs value in python code example Example: math abs python variableName = -4 print(abs(variableName)) #output is 4