Umoja Phiri462 Points
How do I call my call my function
def square(number): return number * number result = square("number") print(result)
Jonathan GrieveTreehouse Moderator 82,446 Points
Instead of the print() method you just need to call the function by specifying its name, followed by curly braces. Then you pass in the value that the function is expecting.
Remember when you declared the function like this
def square(number): You passed in a variable which you used an argument for the function.
As you see the function returns the result of a calculation. All you have to do is provide the number and that is what happens in a function call.