In what world is:
def square(n):
return n * n
... easier for a beginner to understand than: square n = n * n def square(n):
return n * n
... easier for a beginner to understand than: square n = n * nWelcome to the Real World. Please make different entities look different.
"Return" seems meaningless.
So that is the "real world" function declaration (if this phrase makes any sense for a math notation convention) for a nonprogrammer.
Is that what you mean? Because then I agree...