Luis Barahona883 Points
I need help
How do I do this?
def square(number): result = (number * number) return(result) results = square(3)
Hi Luis , You are doing Great :)
Your code works but Treehouse Grader want you to store in variable name result
Since your square function returns a value, create a new variable named result to store the value from the function call.
def square(number): result = (number * number) return(result) result = square(3)
KRIS NIKOLAISENPro Student 49,909 Points
The new variable to store square(3) is result not results. Make that change and you should pass.