Python Dictionary Comprehension
The Python dictionary comprehension is a concise and powerful way to create dictionaries form other iterable objects. It essentially does for dictionaries what a list comprehension does for lists. Because the dictionary comprehension syntax and usage is so similar to that of the list comprehension, the list comprehension lesson is a recommended prerequisite.