python dict的两种构造方法

d1={‘x’:1,‘y’:2}
d2=dict(o=3,s=5)

猜你喜欢

转载自blog.csdn.net/weixin_44311188/article/details/85338364