Skip to main content
improved golfiness
Source Link
Riker
  • 7.9k
  • 4
  • 40
  • 73

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 

Or even better: while foo(a):print a;a*=2

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 

even better: 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 

Or even better:

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 

even better: 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 

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 

even better: while foo(a):print a;a*=2

Mod Removes Wiki by Doorknob
Source Link
moinudin
  • 13k
  • 7
  • 35
  • 40

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