Python Forum
making code more readable - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html)
+--- Forum: Bar (https://python-forum.io/forum-27.html)
+--- Thread: making code more readable (/thread-22618.html)



making code more readable - Skaperen - Nov-20-2019

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!