Question · Python course · Module 1: Python Basics
The return Keyword
What is return used for in a function?
Answer options
- It displays text on the screen
- It returns a value from the function
- It defines a parameter
- It stops a loop
Show the answer
Correct answer:
- It returns a value from the function