Vidyalelo
Python · Q1

Functions in Python

Programming · Python · question 1

Q1

What does the return statement in a function do?

A.
It specifies the value to be returned from the function
B.
It ends the execution of the function
Answer
C.
It prints the result on the screen
D.
It defines the function's name

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board