Home > Article > Backend Development > What is the python mapping type?
What is the python mapping type?
The python mapping type is a dictionary dict, which forms a key-value pair through key-->vaule. The value is stored in value, and the key is unique. The corresponding value can be found by key.
In other words, mapping is an associative container type, which stores the mapping relationship between objects. The dictionary is the only mapping type in python. It stores the association of key-value pairs and is composed of Key to key value mapping.
Related recommendations: "Python Tutorial"
The above is the detailed content of What is the python mapping type?. For more information, please follow other related articles on the PHP Chinese website!