python之dict

一个简单的例子:

dict = {'Alice': '2341', 'Beth': '9102', 'Cecil': '3258'}

 

 

 

 

参考:

http://www.runoob.com/python/python-dictionary.html

http://www.cnblogs.com/moomu/archive/2011/11/21/2256702.html

 

posted @ 2016-12-19 19:13  清源居士  阅读(147)  评论(0编辑  收藏  举报