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 Bruce", "Bananas"], ["Katherine Newton", "Bananas"], ["Deborah Garcia", "Pears"], ["Marguerite Kozlowski", "Pineapples"], ["Kenneth Fitzgerald", "Pineapples"], ["Ronald Crawford", "Bananas"], ["Donald Haar", "Apples"], ["Al Whittenberg", "Bananas"], ["Max Bergevin", "Bananas"], ["Carlos Doby", "Pears"], ["Barry Hayes", "Pineapples"], ["Donald Haar", "Bananas"] ] this is one of them { "Apples": 14, "Bananas": 14, "Pineapples": 0, "Pears": 8 } and this another. Thanks _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor