1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
____ [38]
3 years ago
6

Write a loop that prints each country's population in country_pop. Sample output with input: 'China:1365830000,India:1247220000,

United States:318463000,Indonesia:252164800': United States has 318463000 people. India has 1247220000 people. Indonesia has 252164800 people. China has 1365830000 people.
Computers and Technology
1 answer:
wel3 years ago
7 0

Answer:

The correct code is for country,pop in country_pop.items():  

   print(country, 'has', pop, 'people.')

Explanation:

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

for key value in country_pop.items(): print(key +" has "+ str(value) +" people.")

You might be interested in
10. How does a command work in conjunction with a switch?
bulgar [2K]
Im not completely sure, but i believe the answer is b. Different switches can be used at different times which have different outputs. You could switch cases in one program and use a different one in another and get different outputs.
8 0
4 years ago
What is the capital of Peru?<br> A. <br> Brazil<br> B. <br> Lima<br> C. <br> Inca
hichkok12 [17]
B. Lima-------------
8 0
3 years ago
Read 2 more answers
Choose a different well-known company that you know of, and describe its direct and indirect competitors. Describe at least 2 di
geniusboy [140]
Nondirect competition is the variance between vendors whose products or services are not the same but that could gratify the consumer need
Lets take exampl of microsoft corporation
The indirect competitors are WHOLE FOODS and WAL-MART
Direct competitors sells the product or services that are same
the direct competitors are Apple, Google, HP, IBM
hope it helps
6 0
3 years ago
Read 2 more answers
Differentiate between data and information ​
Mademuasel [1]
Data is an individual unit that contains raw materials which do not carry any specific meaning. information is a group of data that carries logical meaning. info depends on data.
5 0
3 years ago
Order the following routine maintenance tasks from most to least important when securing a computer. a. Verify anti-malware sett
spin [16.1K]

Answer:

The following are the order of the routine maintenance tasks that is C, A, B, D

Explanation:

For securing the computer system the user has to follow some steps related to the routine maintenance tasks.

  • Firstly, the user has to validate the settings on the Windows Update.
  • Then, they have to validate the settings on the anti-malware software.
  • Then, the user has to validate the setting related to the file-sharing system.
  • Finally, they have to validate the frequent optimization of hard drives or hard disks.
7 0
3 years ago
Other questions:
  • _____ documentation is designed to help programmers and systems analysts understand the application software and maintain it aft
    12·1 answer
  • What kinds of variables are accessible from outside of the class?
    8·1 answer
  • If a programming language does not use short-circuit evaluation, what is the output of the following code fragment if the value
    8·1 answer
  • What refers to the protocolâ s ability to ensure that data hasnâ t been modified in any way?
    15·1 answer
  • Feature of electric circuit​
    14·2 answers
  • The UNIX system does not attempt to avoid cycles. Instead, it restricts access to the linking capability of the system. Normal u
    11·1 answer
  • In what country was the English royal family and nobility living before the Restoration?
    6·1 answer
  • Explain the different type of shift register counter ​
    14·1 answer
  • This study highlights that people access social networking sites to be
    12·1 answer
  • Sort the layout options for two types of masters in PowerPoint.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!