📜  为什么for循环没有迭代python所有值 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:25.181000             🧑  作者: Mango

代码示例1
The reason why it didn't work before is during your for loop you are 
mutating word which means that it will skip over an iteration whenever
you delete something because that deletion resulted in each letter moving 
up a position.