Q. What will `list({'a': 1, 'b': 2})` return?
β
Correct Answer: (A)
['a', 'b']
Explanation: Converting a dictionary to a list returns a list of keys.