abs functions in python with example Example: math abs python variableName = -4 print(abs(variableName)) #output is 4