list, tuple, dict, set的用法总结
摘要:
d = [1, 2, 3, 4, 5, 5] #list print(d) e = ([1, 2], 3, 4, 5555, 5555)#tuple print(e) f = {'Michael':88, 'Bob':33, 'rain':66666}#dict print(f) print(f['Michael']) f['Michael'] = 77 print(f['Michael']) ... 阅读全文
posted @ 2016-05-28 22:37 张明明_1 阅读(301) 评论(0) 推荐(0) 编辑