Arithmetic operations


#1

How do I "Set a third variable monty_python equal to python squared" ?


#2

squared is an exponent operation, so would imply use of the exponentiation operator, **.

Eg.

num = 9
num_squared = num ** 2
print num_squared     #  81