What is a key-value pair with reference to Python dictionary ?
What is a key-value pair with reference to Python dictionary ?
4 views
2 Answers
A dictionary is a mapping between a set of indices (which are called keys) and a set of values. Each key maps a value. The association of a key and a value is called a key-value pair.
4 views
Answered
A dictionary is a mapping between a set of indices (which are called keys) and a set of values. Each key maps a value. The association of a key and a value is called a key-value pair.
4 views
Answered