Computer Science, asked by Jatinsahil7245, 1 year ago

Why we use return [expression] in Python?

Answers

Answered by vipingoyal7440
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