Multiple statements can be put on one line separated by ;. This can save a lot of whitespace from indentation.
while foo(a): print a;a*=2 Multiple statements can be put on one line separated by ;. This can save a lot of whitespace from indentation.
while foo(a): print a;a*=2