print square of numbers in python code example Example: how to square a number in python #16 to the power of 2 answer = 16**2