Python Python Basics Functions and Looping Create a Function

i dont understand the question

i dont understand this task. what is argument 3?

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

result = square(number)
adam n
adam n
57,278 Points

The error you get when running that code is very relevant here.

1 Answer

Wade Williams
Wade Williams
24,357 Points

They're asking you to pass the number 3 as an argument into your square function and assign the result of square(3) to result.

result = square(3)