this is the code i put however it says that when "apples" is applied, it gets 0 instead of two. i'm not sure what i've done wrong so any help is much appreciated.
this is my written code, i've excluded what was provided:
////total = 0
////for item in food:
/////// if stock[item] > 0:
////////// total += prices[item]
////////// stock[item] = stock[item] - 1