input: Write a python function to compute the average price of goods.
  assert compute_average_price({'apple': {'price': 3.99, 'quantity': 3}, 'banana': {'price': 4.50, 'quantity': 2}, 'pear': {'price': 6.00, 'quantity': 5}}) == {'apple': 3.99, 'banana': 4.5, 'pear': 6.0}
  assert compute_average_price({'orange': {'price': 2.50, 'quantity': 4}, 'mango': {'price': 5.00, 'quantity': 1}}) == {'orange': 2.5, 'mango': 5.0}
  assert compute_average_price({'watermelon': {'price': 7.00, 'quantity': 3}}) == {'watermelon': 7.0}
output: def compute_average_price(goods):
      average_prices = {}
      for item, details in goods.items():
          average_prices[item] = details['price']
      return average_prices