before_loop; while something: step1; step2; after_loop;
Note that after_loop is still inside the loop. Also you can't have multiple colons on the same line, so this doesn't work either:
if test: do_this; else: do_that
That gives a syntax error
before_loop; while something: step1; step2; after_loop;
Note that after_loop is still inside the loop. Also you can't have multiple colons on the same line, so this doesn't work either:
if test: do_this; else: do_that
That gives a syntax error