I keep getting error alert:
File "python", line 21
total += prices[item]
IndentationError: expected an indented block
That part of the code worked on the previous exercise, why not in this one?
def compute_bill(food): total = 0 for item in food: if stock[item] > 0: total += prices[item] stock[item] -= 1 return total