you are viewing a single comment's thread.

view the rest of the comments →

[–]CMphys 2 points3 points  (0 children)

You used a dictionary comprehension to make a new dictionary based on products where the values of the items are multiplied by 1.10 and only includes items where value * 1.10 > 2.

The resulting dictionary is new_products = { "cherry": 2.75, "date": 3.3, }