SyntaxFix
Write A Post
Hire A Developer
Questions
use an infinity loop like what you have originally done. Its cleanest and you can incorporate many conditions as you wish
while 1: if condition1 and condition2: break ... ... if condition3: break ... ...