think I would indent these two lines to align with the dict((k,v) to make it more clear they effect the comprehension
(no pun intended)