Question
What is the output of the following?d = {0: 'a', 1: 'b', 2: 'c'}for x in d.keys(): print(d[x])
Answer: Option B
Was this answer helpful ?
Loops over the keys and prints the values.
Was this answer helpful ?
Submit Solution