Write a loop that prints each country's population in country_pop. Sample output for the given program.
United States has 318463000 people.
India has 1247220000 people.
Indonesia has 252164800 people.
China has 1365830000 people.
country_pop = {
'China': 1365830000,
'India': 1247220000,
'United States': 318463000,
'Indonesia': 252164800
} # country populations as of 2014
print (country, 'has', pop, 'people.')
+4
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a loop that prints each country's population in country_pop. Sample output for the given program. United States has 318463000 people. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Write a loop that prints each country's population in country_pop. Sample output for the given program. United States has 318463000 people. India has 1247220000 people. Indonesia has 252164800 people. China has 1365830000 people.