Python Forum

Full Version: making code more readable
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
sometimes i find code with one statement bodies after if or for or else or elif on the same line easier to read. that's because there are fewer lines an whole functions or other logic that might be rather long can fit entirely on one screen.

maybe i had a bit much of that stuff to drink!