Programming Languages Python Mcq
Sep 30, 2025

What is the output of [x for x in range(5) if x % 2 == 0]?

Choose the correct answer:
A) [0, 2, 4]
B) [1, 3]
C) [0, 1, 2, 3, 4]
D) Error
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback