48.8k views
3 votes
Each element in a dictionary has two parts: a key and a value. You use a key to locate a specific value.

a) True
b) False

1 Answer

1 vote

Answer: TRUE

Step-by-step explanation:

Elements in a dictionary are usually composed of two parts ; the key which could be viewed as the file name used to store the value. In general a dictionary written in the pattern; {key : value}. A certain value can be located, modified, deleted and added to a dictionary by using the dictionary key attached to each value in the dictionary object created. Each dictionary key should be unique and will be a string of letters which holds a particular value.

User Vinothkr
by
5.6k points