1.字典的建立

a={}

建立空字典

2.item

a.item将a转换为字典item这种类型

list(a.item()),转换为列表,列表内为元组

posted on 2022-09-25 21:27  mitudesk  阅读(20)  评论(0)    收藏  举报