Re: [Tutor] updating stock list

2018-05-01 Thread Mats Wichmann
On 04/30/2018 04:15 PM, Shannon Evans via Tutor wrote: > Hi, i'm wanting to update the stock list at the end so that the fruit > that's given is taken subtracted from the original stock list. The code > i've written isn't updating it it's just staying the same. Any idea what i > can do to fix this?

Re: [Tutor] updating stock list

2018-04-30 Thread Alan Gauld via Tutor
On 30/04/18 23:15, Shannon Evans via Tutor wrote: > Hi, i'm wanting to update the stock list at the end so that the fruit > that's given is taken subtracted from the original stock list. The code > i've written isn't updating it it's just staying the same. Any idea what i > can do to fix this? > >

[Tutor] updating stock list

2018-04-30 Thread Shannon Evans via Tutor
Hi, i'm wanting to update the stock list at the end so that the fruit that's given is taken subtracted from the original stock list. The code i've written isn't updating it it's just staying the same. Any idea what i can do to fix this? import json stock_json= json.load(open("stock.json")) queue