Question: PYTHON DICTIONARY IN TABULAR FORM: This is my code: masterList = {ID001: {name: Soda, pricePerUnit: 2.99, count: 0}, ID002: {name: Bread, pricePerUnit: 2.49, count:0}, ID003:

PYTHON DICTIONARY IN TABULAR FORM:

This is my code:

masterList = {"ID001": {"name": "Soda", "pricePerUnit": 2.99, "count": 0},

"ID002": {"name": "Bread", "pricePerUnit": 2.49, "count":0},

"ID003": {"name": "Eggs", "pricePerUnit": 3.30, "count": 0},

"ID004": {"name": "Cookies", "pricePerUnit": 4.25, "count": 0},

"ID005": {"name": "Milk", "pricePerUnit": 4.99, "count": 0}}

I want my code to be in this form:

PYTHON DICTIONARY IN TABULAR FORM: This is my code: masterList = {"ID001":

Id 1001: 1002: 1003: 1004: 1005: Name Price Soda 2.99 Bread 2.49 Eggs 3.3 Cookies 4.25 Milk 4.99 Count 0 0 0 0 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!