This assignment must be done in a standalone Python environment, not the textbook. 1.Write a python program with a main function to read the file, and produce a list of all countries with a population...

This assignment must be done in a standalone Python environment, not the textbook.
1.Write a python program with a main function to read the file, and produce a list of all countries with a population above 400,000,000.
2.Modify your program so that the user can enter any positive value and the program will print a list of countries with populations above that value.
Modify your program so the user can specify one of the following columns by name (Population, Area, Pop. Density, Coastline). These are the names from the first line of the data file. Only allow the user to enter one of these 4 names.


Add a section to your program to produce a summary of either total population, total area, or total coastline, for eachregionin the file. This is where you want to use a dictionary, with the region as the key. This does not require any user input.
Dec 12, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here