python中的clear

it2026-05-11  5

python中的clear 1 a = { 2 "name":"dlrb", 3 "age":25, 4 "height":168 5 } 6 a.clear() 7 print(a)

输出结果:

{} posted on 2019-04-09 10:01 恒笛 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/xwqhl/p/10675119.html

最新回复(0)