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