Write the python program to display the following: Open and read the countrycities.csv file. Count and display the number of cities per country. Count and display the country which is a member of the EU (EU = yes) and not a member of the EU (EU = no). Find and display the country with the highest and lowest total population. Count and display the country with a coastline (coastline = yes) and without a coastline (coastline = no)

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 12E
icon
Related questions
Question

Write the python program to display the following:

  • Open and read the countrycities.csv file.
  • Count and display the number of cities per country.
  • Count and display the country which is a member of the EU (EU = yes) and not a member of the EU (EU = no).
  • Find and display the country with the highest and lowest total population.
  • Count and display the country with a coastline (coastline = yes) and without a coastline (coastline = no)

https://drive.google.com/file/d/1eDxxA8kHGyQqqCP-3ytQbjtttbm5dUjI/view?usp=sharing 

NOTE: Don't use pandas

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
InputStream
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,