I'm not really stuck on this lesson, I just don't quite understand what a return is. I can't figure out what it does because even after commenting it out, the code still does the same thing.
If someone could explain, in simple terms, what a return is and how to use it, that would help me a lot. Thanks!
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)