10 to the power python code example Example 1: how to power in python Click to copy2 ** 3 == 8 Example 2: how to take a number to a power in python Click to copy#16 to the power of 2 answer = 16**2