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
Hi, is there any way that i can add a loop or iteration or something so
that i dont have to write out every person who has fruit. This information
is coming from the following json files:
*queue.json* file
[
["James Bruce", "Bananas"],
["Katherine Newton", "Bananas"],
["Deborah Garcia", "
Hi,
I have managed to get my two json files that need to be imported into
python and then i need to write a program on who gets fruit and who doesn't
and then need to get the final stock at the end. I was just wondering how i
import the files into python and how i use them after that?
[
["James
Hi, I am trying to write a code with if statements but the code keeps just
repeating and not carrying on.
I am trying to get user to input a grade, either A, B, C, D, E or F and
trying to have an error message if anything but these values are inputted.
This is what i've wrote so far:
while True: