Home »
Python »
Python Dictionary MCQs
Apart from indexing which alternative function is used to access the pair value?
14. Apart from indexing which alternative function is used to access the pair value?
- pair()
- key()
- get()
- None
Answer: C) Get()
Explanation:
The get() function is the alternative method to access the pair values, it will provide us the same result as we get from the indexing method.