python 字典添加元素

d = {0:10, 1:20}  
print(d)  
d.update({2:30})  
print(d)
原文地址:https://www.cnblogs.com/sea-stream/p/9981648.html