how to show power in python code example Example 1: how to power in python 2 ** 3 == 8 Example 2: power in python #The ouptut will be x ^ y x**y