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