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 is [x for x in range(10) if x % 3 == 0]? | StemPy Lab
Quizzes
/
What is [x for x in range(10) if x % 3 == 0]?
Python Programming
Medium
High School (11–12)
High School (9–10)
Undergraduate
General
Python Going Further › Comprehensions, Iterators and Generators
Created by
StemPy Lab
What is [x for x in range(10) if x % 3 == 0]?
[3, 6, 9]
[0, 3, 6]
[0, 3, 6, 9]
[1, 4, 7]
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← csv.DictReader reads a file whose first line is name,mark. For the line Ravi,85, what is row["mark"]?
What is {w: len(w) for w in ["hi", "sun"]}? →
More on
Python Going Further › Comprehensions, Iterators and Generators
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Write an endless generator primes() that gives 2, 3, 5, 7, 11,...
Hard
Write an endless generator squares() that gives 1, 4, 9, 16,...
Medium
Follow the generator
Medium
Used up
Medium
All problems on this topic →