摘要: 1、使用内置函数update合并 >>> dict1 = dict(a = 100, b = 200, c = 300) ## 字典1 >>> dict1 {'a': 100, 'b': 200, 'c': 300} >>> dict2 = dict(d = 400, e = 500, f = 60 阅读全文
posted @ 2022-02-05 18:13 小鲨鱼2018 阅读(582) 评论(0) 推荐(0) 编辑