subject

Write a loop that prints each country's population in country_pop. Sample output with input: United States has 318463000 people.
India: 1247220000
Indonesia: 252164800
China: 1365830000
1. country_pop = {
2. 'China': 1365830000
3. 'India': 1247220000
4. 'United States': 318463000
5. 'Indonesia': 252164800
6. } # country populations as of 2014
7
8. print(country, 'has', pop, 'people.')

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:50
17. implement the jvm dload instruction for the mic-2. it has a 1-byte index and pushes the local variable at this position onto the stack. then it pushes the next higher word onto the stack as well
Answers: 2
question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
question
Computers and Technology, 24.06.2019 20:30
Where is permanent data in the computer stored whenever gym starts his laptop he sees some commands in numbers appearing on the screen these instructions are being preceded by the control unit in
Answers: 1
You know the right answer?
Write a loop that prints each country's population in country_pop. Sample output with input: United...
Questions
question
Chemistry, 09.03.2021 18:10
question
Spanish, 09.03.2021 18:10
question
Mathematics, 09.03.2021 18:10
question
Mathematics, 09.03.2021 18:10
Questions on the website: 13722363