1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
shtirl [24]
3 years ago
13

Write a program in Python that:

Computers and Technology
1 answer:
Vlad [161]3 years ago
6 0

Answer:

Explanation:

The following code is written in Python. It is a function that takes in the location of the csv file. Reads it line by line and ouputs the desired statement as seen in the example output provided in the question. The data does not provide the market share value to add to the statement so it was left blank.

from csv import reader

def printCSV(csv_file):

   with open(csv_file, 'r') as read_obj:

       csv_reader = reader(read_obj)

       for row in csv_reader:

           print(

               "For the month of " + row[0] + ", " + row[7] + " " + row[3] + " " + row[4] + " within " + row[5] + " " +

               row[6] + " stores had sales of $ " + row[8] + " in the " + row[2] + " market for a market share of ")

You might be interested in
An online service allows users to integrate their phonebook with their social media profiles and stores it on the cloud. The pho
Tasya [4]
A) Software as a Service (SaaS)

SaaS refers to full applications deployed in the cloud, whereas PaaS and IaaS refer to cloud services that allow for development of new applications with varying levels of hardware abstraction. IaaS usually refers to cloud Virtual Machines, and it allows more control over the types of computers used to run an application (Linux/Windows/RAM/CPUs/etc). PaaS is a set of minimum required components to make an application run, typically not visible to developers. Developers can write code and deploy to a PaaS service without configuring virtual machines or installing dependencies/Operating Systems.
6 0
3 years ago
Do you play Rocket League
lakkis [162]
Yessirrr like 3 times a week
6 0
3 years ago
Read 2 more answers
I want to discard my old computer and want to securely erase the data from my hard drive what is the process called.
laiz [17]
I believe the process is called High Level Format.
8 0
4 years ago
Read 2 more answers
What is the software that provides the mechanisms to access a database called?
NeX [460]

Answer:

Database Management Software.

Explanation:

The software that provides  the mechanism to access the database is called  Database Management Software.There are two types databases  SQL  and  No SQL.There are various types of  database Management Software  present online for ex:-My SQL,Microsoft SQL server,Microsoft Access,Postgres SQL,Mongo DB etc.

3 0
3 years ago
How to make a slideshow out of pictures in a folder windows not fitting to screen?
weqwewe [10]

Answer:

Windows slideshow.

Explanation:

Creating or displaying a collection of images in a windows file can be very ecstatic and it is quite possible using third party applications.

One way of creating a slideshow is using the screensaver desktop option. There are other easy ways like the wallpaper option and using powerpoint presentation.

To using the screensaver option, go to windows settings and click on personalize, here, use can select a theme or a group of image files, click on a color theme and click apply.

8 0
4 years ago
Other questions:
  • Under which menu option of a word processing program does a star appear
    9·2 answers
  • 12.
    10·1 answer
  • in Google, how should you phrase your search if you want to exclude a certain word from your results(for example,"chocolate")?
    14·1 answer
  • Complete the crossword puzzle.
    12·2 answers
  • Imagine that you have configured the enable secret command, followed by the enable password command, from the console. You log o
    9·1 answer
  • : How can Internet technologies help a business form strategic alliances with its customers, suppliers, and others?
    10·1 answer
  • What is a compiler? O a tool used to integrate multiple software programs O a tool used to extract a single software program fro
    13·2 answers
  • What is the output?
    7·2 answers
  • বর্তমান করােনার ন্যায় পরিস্থিতি অর্থাৎ স্বাভাবিক শ্রেণি কার্যক্রম পরিচালনা সম্ভব
    10·2 answers
  • What is required when opening a checking account?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!