首页 > 技术文章 > python中的clear
xwqhl 2019-04-09 10:01 原文
1 a = { 2 "name":"dlrb", 3 "age":25, 4 "height":168 5 } 6 a.clear() 7 print(a)
输出结果:
{}