Question: Write a python program that reads data from text file into a dictionary whose keys are country names and whose values are per capita incomes.
Write a python program that reads data from text file into a dictionary whose keys are country names and whose values are per capita incomes. Program asks the country name and prints per capita income of that country. Example, Enter the country name (or type Q to quit): United States The per capita income is $58030
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
