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)
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
D. none of the mentioned
Answer: Option C

Join The Discussion