摘要: 一、演示坑 tracks = [0, 0, 0, 1, 1, 1] for track in tracks: if track == 0: tracks.remove(track) print(tracks) # [0, 1, 1, 1] 发现:有一个0没有被删去,why??? 二、这次遍历时,带上 阅读全文
posted @ 2023-06-11 12:34 eliwang 阅读(220) 评论(0) 推荐(0) 编辑