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 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 23.06.2019 01:00
Write the command that can be used to answer the following questions. (hint: try each out on the system to check your results.) a. find all files on the system that have the word test" as part of their filename. b. search the path variable for the pathname to the awk command. c. find all files in the /usr directory and subdirectories that are larger than 50 kilobytes in size. d. find all files in the /usr directory and subdirectories that are less than 70 kilobytes in size. e. find all files in the / directory and subdirectories that are symbolic links. f. find all files in the /var directory and subdirectories that were accessed less than 60 minutes ago. g. find all files in the /var directory and subdirectories that were accessed less than six days ago. h. find all files in the /home directory and subdirectories that are empty. i. find all files in the /etc directory and subdirectories that are owned by the group bin."
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What is the original authority for copyright laws
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, 23.10.2021 07:00
question
Mathematics, 23.10.2021 07:00
question
Mathematics, 23.10.2021 07:10
Questions on the website: 13722363