# Question-   Write a loop that prints each country's population in country_pop. Sample output for the given program: United States has 318463000 people.

Solution-

Question:-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.

Complete Solution Below:-

country_pop={"United States": 318463000, "India" : 1247220000, "Indonesia" : 25216480, "China": 1365830000 }

for i,j in country_pop.items():

print(i +" has",end=" ")

print(j,end=" ")

print("people. ")

# Our happy customers

They are fast in responding to homework questions. they have the best technical writers. Thanks for helping me with my programming doubts.

Dyana
5

I contact to disklib for homework, they help me out, despite there was some technical issue they gone through extra mile for me and provide me good quality work in first priority. 100% recommended.

Asif Waheed
5

Desklib's study resources are best & unique. Their study database is easy to access and easy to use.
100 % recommended.

Mike Taylor
5