I have two for-loops in python inside while loop as follows:
while ..
for ..
for ..
if condition == True:
break
I want to break the first for-loop once the condition in the if statement is met, How can I achieve it, it appears that break is only terminating inner for loop and not outer, I want outer for-loop to be terminated.