Question: I need to write code on python (can use only json and csv librarys) I have a dictionary: {'fruit': ['apple', 'pineapple'], 'vegetables: [], 'colors': ['red',
I need to write code on python (can use only json and csv librarys)
I have a dictionary: {'fruit': ['apple', 'pineapple'], 'vegetables: [], 'colors': ['red', 'blue'], 'car': ['bmw']}
I need to create res.csv with information from dictionary. this file should look like this inside: fruit,apple,pineapple vegetables colors,red,blue car,bmw
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
