asked 20.8k views
0 votes
What statement do you have to have in a value-returning function?

in regards to python programming language.​

asked
User Kirin
by
8.4k points

1 Answer

3 votes

Answer:

They can be situated anywhere in the function body. 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.

answered
User Nos
by
7.2k points

No related questions found