I’m writing a program in python which runs something along this format:-
found=False for ...: if ...: found = True break if not found:
Assuming that this is a list or a tuple or something which I want to iterate though, and now I want to restart the previous for loop from the point onwards from which the if statement was executed. How can I do this? Can anyone tell me?