摘要: dic = {"朱元璋":"明太祖", "朱棣":"明成祖", "朱元璋":"朱重八"} print(dic) dic['朱元璋'] = "和尚" print(dic) # set就是存储的key, set集合不会重复, 无序 s = {"朱元璋", "朱元璋", "朱棣"} print(s) s = {"alex", 1, True, {"你好&qu 阅读全文
posted @ 2018-06-07 16:32 北伽 阅读(132) 评论(0) 推荐(0) 编辑