11/13 'dict' object is not callable


#1

def compute_bill(food):
total = 0
for item in food:
total += prices(item)
return total

When I run this I get the error compute_bill(['apple']) resulted in a TypeError: 'dict' object is not callable


#2

prices(item) does not call a list.

total += prices[item]