The smallest few: heapq
Your task In the code box, write a function cheapest(prices, k) where prices is a dict from product name to price. Give back the names of the k cheapest products as a list, cheapest first, names A to Z when prices tie. Then press Run my code.
Getting the editor ready
