python math arcsin code example Example 1: math abs python variableName = -4 print(abs(variableName)) #output is 4 Example 2: arccos math math.acos()