So I successfully made it through the functions tutorial, hooray! However I'm still having a but of trouble understanding the purpose of
return. For example, in:
I know that
returndoes something with the variable
squaredthat could be used later but isn't for the user to see? What is the exact purpose of
return squaredin this instance? And if its to be used later, could I get an example of how that may be?