Anand Chitipothu <anandology at gmail.com> writes: > loop. In Python 3, it can be written as a dictionary-comprehension. Dictionary and set comprehensions are also available in Python 2.7