Question: PYTHON CODE At the address below, there is covid data for all countries since the day the epidemic started. This data is updated daily. When

PYTHON CODE At the address below, there is covid data for all countries since the day the epidemic started. This data is updated daily. When you download the file again tomorrow, one more line for each country there will be data. The address from which you will get the data:https://datahub.io/core/covid-19 The name of the file with the data you will use: time-series-19-covid-combined.csv The file looks like this:Date,Country/Region,Province/State,Confirmed,Recovered,Deaths 2020-01-22,Afghanistan,,0,0,0 2020-01-23,Afghanistan,,0,0,0 2020-01-24,Afghanistan,,0,0,0 2020-01-25,Afghanistan,,0,0,0 2020-01-26,Afghanistan,,0,0,0
It is a file in csv (comma seperated value) format separated by "," from each other. The first line is the title, date, country name, state name, Confirmed (number of reported cases), There are values for Recovered (number of heals), Deaths (number of deaths). State name is defined for America and some countries, for countries without a state system, this column is empty.
According to the date ranges and the country name you will receive from the user, you can print the program that prints to the file. index confirmed recovered deaths 1    2    3    ... N   

The name of your file must be the country name. As you can see, there is an order value instead of date information. The first date taken from the user on day 1, day corresponds to the 2nd date taken from the user.

Check the input / output files for details. Just upload your Python code to the system it is expected that time-series-19-covid-combined.csv file is in the same folder as your code you can assume.

for example input:

Turkey 2020-06-06 2020-08-06

output: Turkey.txt file

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!