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