[Solved] Grocery Store for Python
I think the problem is in the part where you insert your item into the cartList. You only insert the item, not the money with it. So in the return part, it must be: if ask == ‘return’: ret = input(‘What item do you want to return?\n’) for i in cartList: if ret==i: … Or … Read more