Python Python Basics Functions and Looping Create a Function

def square(number): return number * number result = square(7) print(result) #prints 49 whats wrong with this?

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

result = square(7)
print(result) #prints 49

1 Answer

Under the function definition, call your new function and pass it the ARGUMENT 3 (THREE).