Too much logic in one line. Can you save the key to a variable first, and then reference that variable when creating the dict?