Question: i want a report In [53]: # -- Student code for task 4A goes below--> highest_ten_deaths = [] for i in range(0, len(covid_data)): highest_ten_deaths.append(covid_data[i][10]) highest_ten_deaths.sort
![task 4A goes below--> highest_ten_deaths = [] for i in range(0, len(covid_data)):](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f5388f76e2f_83166f5388f103a2.jpg)
In [53]: # -- Student code for task 4A goes below--> highest_ten_deaths = [] for i in range(0, len(covid_data)): highest_ten_deaths.append(covid_data[i][10]) highest_ten_deaths.sort (reverse = True) countries = [] for item in highest_ten_deaths[:10): for loop2 in range(len(covid_data)): if (covid_data[loop2][10] == item): countries.append(covid_data[loop2][2]) countries 3 Out[53]: ['country', Poland', Philippines, "Chile', 'Trinidad and Tobago', Romania', "Maldives, 'Luxembourg, Mauritania, 'Egypt'] Type here to search O Student Task 4B (CLO 4):- (Marks: 10) Create a markdown cell below. . In the markdown cell please give a report on the countries that you stored in the highest_ten_deaths The content of the report is up to you. Write what you think gives an account of the highest_ten_deaths . You may want to possibly talk about information such as the total deaths or total new cases? . You may want to group the ten countries bu continent o For example how many of the ten are from Asia, Europe, etc. In [53]: # -- Student code for task 4A goes below--> highest_ten_deaths = [] for i in range(0, len(covid_data)): highest_ten_deaths.append(covid_data[i][10]) highest_ten_deaths.sort (reverse = True) countries = [] for item in highest_ten_deaths[:10): for loop2 in range(len(covid_data)): if (covid_data[loop2][10] == item): countries.append(covid_data[loop2][2]) countries 3 Out[53]: ['country', Poland', Philippines, "Chile', 'Trinidad and Tobago', Romania', "Maldives, 'Luxembourg, Mauritania, 'Egypt'] Type here to search O Student Task 4B (CLO 4):- (Marks: 10) Create a markdown cell below. . In the markdown cell please give a report on the countries that you stored in the highest_ten_deaths The content of the report is up to you. Write what you think gives an account of the highest_ten_deaths . You may want to possibly talk about information such as the total deaths or total new cases? . You may want to group the ten countries bu continent o For example how many of the ten are from Asia, Europe, etc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
