in dictionary the elements are accessed through:
(a)value
(b)key
(c)index
(d)position
Answers
Answered by
1
Answer:
key
Explanation:
One common method used to access a value in a dictionary is to reference its value using the dict[key] syntax. The difference between the dict[key] syntax and dict. get() is that if a key is not found using the dict[key] syntax, a KeyError is raised
Similar questions