Python Python Basics Functions and Looping Create a Function

I cant fix this problem with my function!! Please help.

error message keeps coming free

squaring.py
def square(number):
    return number*number

square(3)

Thank You

2 Answers

exactly. thank you for your help.

Simon Au
Simon Au
5,508 Points

I remembered you need to set up a new variable result and result = square (3)