标签:
A dictionary contains 1 to 1 mapping.
dict = {"key1":"value1", "key2":"value2"}
then we can simply refer the key to call corresponding value
var = dict["key1"]
[python]Dictionary
原文地址:http://www.cnblogs.com/lmliu/p/5560395.html