I would like to know how do I start a for
-loop from 0 if the if
condition is True
for i in range (3):
if a=1:
#leave if-condition and start from beginning in for-loop with i=0
Break doesn't help here, because with break I only can leave the if Condition, but I also want to start the for loop from beginning.