subject

Write a program in Python that: - Reads in the data in the file given, Sets up the appropriate classes/attributes/methods, Assigns definitions to each category, Prints out the report for all instances in the input file
Setting up the data:
Month name, Number of days in the month, Market name, Category name, Category definition, Store name, Store type, brand name, sales
The output should have 10 lines or sets of lines. The output will look like this:
For the month of April, Charmin Bath Tissue within Jewel Food stores had sales of $ 68 in the Chicago market for a market share of 52
For the month of April, Charmin Bath Tissue within Jewel Food stores had sales of $ 62 in the Chicago market for a market share of 47
File contents are in .csv file (excel) and were copied and pasted below:
April30ChicagoBath TissueJewelFoodCharmin68
June30ChicagoBath TissueJewelFoodCharmin74
April30ChicagoBath TissueCVSDrugCharmin96
June30ChicagoBath TissueCVSDrugCharmin33
April30ChicagoBath TissueJewelFoodScott62
June30ChicagoBath TissueJewelFoodScott87
April30ChicagoBath TissueCVSDrugScott98
June30ChicagoBath TissueCVSDrugScott39
April30ChicagoBath TissueMarianosFoodCharmin85
June30ChicagoBath TissueMarianosFoodCharmin20

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
Eye injuries usually occur as a result of all of the following things, except: a) proper machine operation b) battery explosion c) falling or flying debris d) electric welding arc
Answers: 2
question
Computers and Technology, 23.06.2019 03:00
Your business be in google top rank.more the rank more the business leads.for best seo and digital marketing services be confident to contact you can get best seo solutions by assistance experts provide digital marketing, website development, seo expert services and social media internet seo expert services your branding solutions. seo expert services ,best seo expert services,online seo expert services,
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
What is the difference between the internet and the world wide web?
Answers: 1
You know the right answer?
Write a program in Python that: - Reads in the data in the file given, Sets up the appropriate cla...
Questions
question
English, 05.07.2019 08:30
Questions on the website: 13722360