Home  >  Article  >  Backend Development  >  What is the python mapping type?

What is the python mapping type?

藏色散人
藏色散人Original
2019-06-26 10:17:2815993browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn