Mark Phohole / Publications
Forum
If condition within For loop
Hi, Is there any restriction on using an "if condition" within a "For Loop" or even a "Do while loop"? I have a code with a following structure: for (expression1; expression2; expression3) { expression=True; if (expression) operator1; else operator2; } Instead, on compilation