math.power 2,3 minus 1 python code example Example 1: python exponentiation print(5 ** 3) #125 Example 2: power in python #The ouptut will be x ^ y x**y