Skip to content
RED SAGSkills
medium10 pts · first answer countspythonpython-basics

Inverting a dict with repeated values

What is the result of this comprehension?

d = {"a": 1, "b": 2, "c": 1}
{v: k for k, v in d.items()}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions