Average per item
history maps each item to a non-empty list of prices it has been sold at.
Write averages(history) that returns a dictionary of each item's average
price, rounded to two decimal places.
averages({"apple": [40, 42], "milk": [2.5]}) -> {"apple": 41.0, "milk": 2.5}
def averages(history):
...