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
Ierofanga [76]
4 years ago
11

You are creating a Python script that will make use of user input contact names and their associated phone numbers. What would b

e ideal for storing and accessing these associated values?
Social Studies
1 answer:
Strike441 [17]4 years ago
3 0

Answer:

Dictionary

Explanation:

Most Data types do hold only one value as an element, python's Dictionary holds key/value pair. In Python, DICTIONARIES are unordered collection of data. These data are used to store values, for instance in the question given, writing the script that will make use of user input contact names and their associated phone numbers; DICTIONARY is ideal for storing and accessing these associated values.

When creating a python's Dictionary it is worthy of note that dictionary keys are case sensitive. Dictionary, in Python can be created by imputing sequence of elements within - {}, and then you separate {} by ‘comma’. For example;

# Creating contact names

Dict = {}

print("contact name: ")

print(Dict)

You might be interested in
Based on the map, why was Fertile Crescent favorable for early settlements?
Leona [35]

Answer:

In a region of the world where much of the land is too dry for farming, the Fertile Crescent is a rich food-growing location. Natural resources that enabled people to settle in one location were created by the muddy, swampy land between the Tigris and the Euphrates rivers.

Explanation:

7 0
3 years ago
Read 2 more answers
China, with most decision-making power concentrated into a few members of the Communist Party, is best described as a
Gnom [1K]

Answer:

C. oligarchy

Explanation:

Just took the test, got 100%

7 0
3 years ago
Which characteristic does not belong on this list of Classical music traits?
garik1379 [7]
"<span>chromaticism" would be the best option from the list, since this is used primarily in more modern and experimental music, although it should be noted that there are elements of this in some classical music.</span>
6 0
3 years ago
Read 2 more answers
Jail and prison officials may generally limit inmate rights when the limitations serve
irga5000 [103]
That statement is true

The limitation is created for the prisoners depending on the threat level that they have. For inmates with maximum level of threat for example, prisons officials might limit their right to move and talk freely (their hands and feet could be restricted 24/7)
7 0
3 years ago
A __________ is a device used to measure earthquakes.
boyakko [2]
A seismograph is used to measure earthquakes
 
7 0
3 years ago
Read 2 more answers
Other questions:
  • The climate change, famine, and disease in this lesson all took place in the _____ century.
    8·1 answer
  • Under the Articles of Confederation, what would be considered an accomplishment of the national government?
    12·1 answer
  • James Oglethorpe, the founder of Georgia, established good relations with the local American Indians by
    8·1 answer
  • The stimulus package that Congress enacted shortly after Barack Obama became president is most consistent with which economic​ t
    6·1 answer
  • Provide five benefits from anti tuberculosis
    14·1 answer
  • Forecasting models can be divided into three groups. They are: a. time series, optimization, and simulation methods b. judgmenta
    13·2 answers
  • As people move, they take many aspects of their culture with them. They also adopt some of the customs of the area they move to.
    8·1 answer
  • John Kingdon asks, what does it take to push an issue onto the policy agenda such that decision makers are giving serious attent
    15·1 answer
  • 2. a. Describe What are the factors of production?
    15·1 answer
  • Capacity requirements are determined by dividing the sum of the total time needed to make the products and the total time needed
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!