0
Is there a way to replace my "cont" loop?
In order to change a string an unknown number of times, I created a for loop inside of a while loop, like this: cont = True while cont: for ... (if the string changes it exits the loop using break) (if the for loop has ended without breaking cont sets to False) Is there a nicer way of writing this?
1 Answer
0
Hello,
Your question is not clear. Please provide code with details.