To return the result value from a function, execute a statement of this form:
return e
where
is any expression.
e
You can omit the expression. In this case, the special
value None
is returned to the caller.
If execution reaches the end of a function without
reaching a return statement, the
effect is the same as
return None