Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
A function does return 1, 2. What is the type of the answer? | StemPy Lab
Quizzes
/
A function does return 1, 2. What is the type of the answer?
Python Programming
Medium
High School (9–10)
High School (11–12)
Undergraduate
General
Python Essentials › Tuples and Sets
Created by
StemPy Lab
A function does return 1, 2. What is the type of the answer?
int
set
list
tuple
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student says that a set keeps its values in the order they were added, so s[0] gives the first one. What is the mistake?
What does print(sorted({1, 2} ^ {2, 3})) show? →
More on
Python Essentials › Tuples and Sets
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Write a program that swaps the values of two variables a and b in one line, without a third…
Easy
Choose a list, a tuple, a set or a dictionary for each, and give a reason in one sentence.
Easy
Three clubs have these members. Find the students who are in exactly two clubs.
Medium
How many letters does mississippi have, and how many different letters?
Medium
All problems on this topic →