putting a number to a power in python code example Example: how to take a number to a power in python #16 to the power of 2 answer = 16**2