Use dict comprehension.