Tech Insights· twitter.com
Thread: How much code do you put in one statement?
From twitter.com
#python tip: Q. How much code do you put in one statement? A. Statements should correspond to one complete thought expressible in a single sentence in plain English. English: I'll drive if it is raining; otherwise, I'll walk: Python: action = 'drive' if raining else 'walk'
Shared by
- Python



