I am confused, what am i missing?



i am trying to call it but i'm missing something because its asking me whethere i have included square(10) or not.
Oops, try again. Did you remember to call square(10) on line 9?

Replace this line with your code. 

def square(n):
    """Returns the square of a number."""
    squared = n**2
    print "%d squared is %d." % (n, squared)
    return squared
# Call the square function on line 9! Make sure to
# include the number 10 between the parentheses.


Hi @was123456,

Because you indented this line, it is part of the square function ...


Therefore it does not execute, and the function does not get called.


ah thank you i guess i have to pay more attention towards indenting things