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 print(2 in [1, 2, 3]) show? | StemPy Lab
Quizzes
/
What does print(2 in [1, 2, 3]) show?
Python Programming
Easy
Middle Stage (6–8)
High School (9–10)
High School (11–12)
Undergraduate
General
Python Basics › Lists
Created by
StemPy Lab
What does print(2 in [1, 2, 3]) show?
False
2
True
An error
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student writes s = "cat" and then s[0] = "b". What happens?
a = [3, 1, 2]. After a.sort(reverse=True), what is a? →
More on
Python Basics › Lists
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Here is a table of marks: one row for each student, and one column for each test.
Medium
What do a and b show at the end? Say it before you run it.
Medium
The list is marks = [45, 78, 90, 62, 38, 85, 71].
Easy
Find the position
Easy
All problems on this topic →