I am confused, what am i missing?


#1



https://www.codecademy.com/courses/python-beginner-c7VZg/1/2?curriculum_id=4f89dab3d788890003000096#


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.
    square(10)


#2

Hi @was123456,

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

    square(10)

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


#3

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


#4