Question: can i have the answer for task 3 and task 4 and explain the step (python) import csv covid_data = [] with open('covid_data.txt', newline =

can i have the answer for task 3 and task 4
and explain the step
(python)  can i have the answer for task 3 and task 4
and explain the step (python) import csv covid_data = [] with open('covid_data.txt',
newline = '') as covid: txt_reader = csv.reader(covid, delimiter='\t') for row in
txt_reader: covid_data.append(row) ow many items are in the covid_data list? will add
a len() to count the number of items. # print("The", len(covid_data),"represent the
number of covid items") The 192 represent the number of covid items
Using the type 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 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 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 NW - Student code for tash goes below--> I File

import csv covid_data = [] with open('covid_data.txt', newline = '') as covid: txt_reader = csv.reader(covid, delimiter='\t') for row in txt_reader: covid_data.append(row) ow many items are in the covid_data list? will add a len() to count the number of items. # print("The", len(covid_data),"represent the number of covid items") The 192 represent the number of covid items Using the type 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 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 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 NW - Student code for tash goes below--> I File cipython-input-7-66410acdalf", line 4 Create a new list called highest_ten_deaths Store the countries that are in the highest 10 deaths per million from the covid_data #

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!