机器人
积分排行榜
Scratch
积分排行榜
Python
在线答题
积分排行榜
活跃排行榜
C++
在线答题
积分排行榜
活跃排行榜
网盘
链接
打字练习
Microbit
未登录
未登录
登录学习
作者:
崔卓一
更新时间:
2025-01-12 13:48
浏览:
13次
点赞:
0次
热度:
20
d={} d=dict() print(d,type(d)) d={"ye","什么","yi":"平板","zhou":"手机","shan":"奶龙","fan":"mxh","chen":"盲盒","ye":"啊"} print(d) d1={1:11,2:22} print(1 in d1) print(11 in d1) d2={1:11,2:22} d2.update({3:33,4:44}) print(d2) d2.update(a=5) print(d2) d={"ye","什么","yi":"平板","zhou":"手机","shan":"奶龙","fan":"mxh","chen":"盲盒"} print(d["ye"]) for i in d: print(i) for i in d: print(d[i]) for i in d.keys(): print(i) print("*****",d.keys()) for i in d.values(): print(i) print("*****",d.values()) for i in d.items(): print(i)
点赞成功
分享作品
×