Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does return do? | StemPy Lab
Quizzes
/
What does return do?
Python Programming
Easy
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Functions
Created by
StemPy Lab
What does return do?
It repeats the function
It deletes the variable
It sends a value back to the call and ends the function
It prints a value
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← def double(n) returns n * 2. What does print(double(21)) show?
def f() has only print("a") inside. After x = f() and print(x), what is shown? →
More on
Python Basics › Functions
Discussion (0)
Log in
to join the discussion.
Loading…
All questions on this topic →
Problems on this topic
A function ticket_price(age) gives the price of a museum ticket: under 5 is free (0), under 13 pays…
Medium
Same name, two variables
Medium
This program should show The total is 50. It stops with an error. Find the fault and fix it.
Medium
Which of these four programs shows something? Say it before you run each one.
Easy
All problems on this topic →