1.

Difference between return and return value statements in pyrhon

Answer»

The Python return statement is a special statement that you can use inside a function or method to send the function's result back to the caller. A return statement consists of the return keyword followed by an optional return value. The return value of a Python function can be any Python object.



Discussion

No Comment Found

Related InterviewSolutions