赞
踩
- aa=["xuhaitao","xuhaihuan","xuhairu","lidaiping"]
- cc={"ba":"xuguozhu123","ma":"lidaiping",33:"xuhaitao33434"}
-
- #遍历字典所有key值
- for c in cc.keys():
- print(c)
- #遍历字典所有key值另一种写法
- for c in cc:
- print(c)
- #遍历字典中所有values值
- for c in cc.values():
- print(c)
- #遍历字典中所有values值另一种写法
- for c in cc:
- print(cc[c])
FR:徐海涛(hunk Xu)
QQ技术交流群:386476712
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。