我有以下代码:
letters = 'abcdefg'
for i in letters:
if ...
#condition that tests something I need
#once condition is satisfied, something is done, the condition is modified
# and letters becomes:
letters = letters.replace(i,'')
### Now I want to start this for loop again because my condition
### may now be met with the initial letters
如何让我的循环从头开始?