Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

explain the use of return keyword python

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
 
PREVIOUS NEXT
Tagged: #explain #return #keyword #python
ADD COMMENT
Topic
Name
5+1 =