Python Python Basics Functions and Looping Create a Function

Not sure what I'm doing wrong.

I've tried a bunch of different things like assigning a number as a variable I've looked online and researched function parameters and arguments but it still tells me I'm wrong, not sure what I missed.
def square(number):

    number * number

1 Answer

Brendan Whiting
Brendan Whiting
Front End Web Development Treehouse Moderator 84,577 Points

You need to put the value you want to return right after the return keyword.

return number * number