I have looked at other posts and tried to compare, and I still do not see my mistake. Can someone please help?
Oops, try again. calling compute_bill with a list containing 1 apple, 1 pear and 1 banana resulted in 9 instead of the correct 7
def compute_bill(food): total = 0 for item in food: stock[item] > 0 total = prices[item] + total stock[item] -= 1 return total