Python Python Basics Functions and Looping Create a Function

need helping with creating a function
def square(number):
    return number * 5

1 Answer

You are close. But your function returns 5X the number. To square you want to return number*number. Then to call it you could use for example:

hundred = square(10)