Programming Languages Python Mcq
Sep 30, 2025

What is the output of {x: x**2 for x in range(3)}?

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

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

Share Your Thoughts
Feedback