Good day.
Is it permissible in Python to write very short if blocks and loops in one line? Are there any official recommendations on this issue?
I mean something like one of the following options:
if check: continue if x.param: x.modify() while x.value: x.rotate() In my opinion, it looks so much better, especially if several similar short blocks follow each other - otherwise the ugly comb would have been made. Am I right?