Write your code below!
total = 0
for n in food: if stock[n] > 0: total += prices[n] stock[n] -= 1 return total
it said "
calling compute_bill with a list containing 1 apple, 1 pear and 1 banana resulted in 4 instead of the correct 7
please help me about this😂i don‘t know how to fix it