对可迭代数据类型进行for遍历取值,str list tuple dict set range
在循环过程中不能对list、dict进行删除操作。
python基础之for循环
猜你喜欢
转载自www.cnblogs.com/meifei/p/11395929.html
今日推荐
周排行