Define a custom function using def and name it power. The function should take one argument and return the argument raised to the power of 2.
def
power
Example, take a as argument and return a ** 2 .
a
a ** 2
View Solution