Skip to content
Sign UpLog In
Profile icon

siliver

@siliver
Repls
Community
siliver
siliver
shared a Post
3 years ago
What is Return Statement.
Guys what is Return Statement using for?
Bookie0
Bookie0
For a return statement in Python, this is what I found according to GeeksForGeeks: > A return statement is used to end the execution of the function call and “returns” the result (value of the expression following the return keyword) to the caller. The statements after the return statements are not executed. If the return statement is without any expression, then the special value None is returned. Basically, it causes the function to stop/exit and return a value back to the caller. Hope this3 years ago