abs python function code example Example: math abs python variableName = -4 print(abs(variableName)) #output is 4