in Python by
What is the output of the following?

d = {0: 'a', 1: 'b', 2: 'c'}
for x in d.values():
    print(d[x])

a. a b c
b. 0 a 1 b 2 c
c. 0 1 2.
d. none of the mentioned

1 Answer

0 votes
by

Answer: a
Explanation: Loops over the values.

...