a) Write a class for country. A country has a name, a population and an area. Population and area must have default values ??that say they have not been set yet. Name should not have a default value.'
b) Write a _str___ method for the class Country. This method should return a string containing the name, population and area of ??the country.
c) Write a method for the class Country that calculates and returns the population density of the country. Population density is population divided by area.
d) Write a function that takes in two countries, checks which has the highest population, and returns the country with the highest population of the two.
e) Read in the CSV file population_tabell_csv.txt. Create a Land object for each line in the file, with name and population given by the file, but where the area is not set yet (use default value). Put all the countries in a dictionary with name as key and the Country object as value
f) Read in the CSV file area_tabell_csv.txt. For each line, check whether you can find the name of the country in the dictionary from the previous subtask. If you find the name, set the area of ??the Land object equal to the area from this file. If you cannot find the country in the dictionary, write the name of the country and that you cannot find it.
can you show how to do the e) and f) task? :)