Vidyalelo
Python · Q55

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 55

Q55

What will be the output of the following Python code? d = 0: 'a', 1: 'b', 2: 'c' for x, y in d.items(): print(x, y)

A.
0 1 2
B.
a b c
C.
0 a   1 b   2 c
Answer
D.
none of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board