Why we use return [expression] in Python?
Answers
Answered by
1
A return statement ends the execution of the function call and "returns" the result, i.e. the value of the expression following the return keyword, to the caller. If the return statement is without an expression, the special value None is returned.
Similar questions