Question: undefined Trusted Edit View Insert Cell Kernel Widgets Help e 10 Run Code Step 1 - Importing the Covid 19 Data Please do not touch

undefined Trusted Edit View Insert Cell Kernel Widgets Help e 10 RunCode Step 1 - Importing the Covid 19 Data Please do nottouch the code below. Just run the cell to load the data.Please make sure you have the covid_data.txt file saved in the samefolder as this Juypter Notebook All of the data will be storedin a new list called covid_data . This covid_data list can beundefined

Trusted Edit View Insert Cell Kernel Widgets Help e 10 Run Code Step 1 - Importing the Covid 19 Data Please do not touch the code below. Just run the cell to load the data. Please make sure you have the covid_data.txt file saved in the same folder as this Juypter Notebook All of the data will be stored in a new list called covid_data . This covid_data list can be used for the rest of the indivudal project In [4]; import csv covid_data = [] with open('covid_data.txt', newline = '') as covid: I txt_reader = csv.reader(covid, delimiter='\t') for row in txt_reader: covid_data.append(row) Run C Code Student Task 1 (CLO 4):- (Marks: 5) How many items are in the covid_data list? I will add a len() to count the number of items. In [9]: # print("The", len(covid_data), "represent the number of covid items") The 192 represent the number of covid items Student Task 2 (CLO 4):- (Marks: 10). Using the type function that we used in Week 2 please determine the type of each item in covid_dat Run Code The 192 represent the number of covid items Student Task 2 (CLO 4):-(Marks: 10). Using the type function that we used in Week 2 please determine the type of each item in covid_data list. You might use a for loop to go through each item in the list. We covered this in class in Week 4 Am using the for loop & the Type that determine the type of each items. # items = 192 I for i in range(1,193): print("the type of item", i, type(items)) the type of item 1 the type of item 2 the type of item 3 the type of item 4 the type of item 5 the type of item 6 the type of item 7 the type of item 8 the type of item 9 7 0 c f .. ENG the type of item 20 Student Task 3 (CLO 4):- (Marks: 30). Create a new list called asia_countries. Using a for loop along with an if statement go through the covid_data list and store all the countries from Asia in this new asia_countries. . At the end please print out the number of countries in the asia_countries list. # I File "", line 4 for (i; i I Student Task 4B (CLO 4):- (Marks: 10) Student Task 5 (CLO 4):- (Marks: 30). The final step in your project . The aim of this takes is to create a new list called totals that will hold the total deaths on January 30th by contintent. The structure of the list should follow below where totals[O] contains the total deaths for Africa totals[1] contains the total deaths for Asia totals[2] contains the total deaths for Europe totals[3] contains the total deaths for North America totals[4] contains the total deaths for Oceania totals[5] contains the total deaths for South America . The instuctor should be able to view any total by simplying running the code . 22]: #

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!