Son Nguyen638 Points
Hello, can someone please tell me what I am doing wrong? Thank you for your help.
def square (number): return (number * number) number = int(5) result = square(number*number) print (result)
KRIS NIKOLAISEN54,287 Points
You built the function in task 1 ok. In task 2 you are to pass in an argument of 3 and store the result in a variable named
result. In your code above you are passing in a value of 5*5 = 25. The simplest code to complete task 2 is:
result = square(3)