Write price_of(prices, item) returning the item's price from the dict, or 0 if the item isn't there.
price_of({'pen': 10, 'book': 200}, 'pen')
→ 10price_of({'pen': 10}, 'bag')
→ 0Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.