![trekey36](/avatars/11570.jpg)
trekey36
26.12.2019 •
Social Studies
You are creating a python script that will make use of user input contact names and their associated phone numbers. what would be ideal for storing and accessing these associated values?
Solved
Show answers
More tips
- G Goods and services What Are the Most Popular Services?...
- O Other What is the oldest joke ever told?...
- L Legal consultation How to Properly Inherit: Tips and Recommendations...
- C Computers and Internet Boost your processor performance with these easy tips...
- S Sport How does Bodyflex work: what is it and how does it work?...
- H Health and Medicine How to Whiten Teeth and Get the Perfect Smile...
- S Style and Beauty How to Properly Apply Eye Makeup: Tips from a Professional Makeup Artist...
- A Auto and Moto How Can Parking Sensors Help Drivers?...
- C Computers and Internet Make Money Online: Secrets and Essential Ways...
- A Auto and Moto What is the Average Lifespan of an Engine in a Car?...
Answers on questions: Social Studies
- S Social Studies theory states that individuals have five major types of hierarchical needs is:...
- E English Is the underlined word a participle or verb? i am looking forward to a nice, long vocation. looking is underlined. a. participle b. verb...
- M Mathematics Using the slope formula for the points (1,5) and (2, 2), what would the denominator be? -2-5 -2-1 2-1 2-5...
- H Health what are the ways to change the behaviour of a person which is changed to bad due to getting bullied....
Ответ:
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)
Ответ: