On 6/17/20 5:42 AM, artem6191 wrote:
So yeah, we can "if <expression>: return", but why not?
From Pep 20 (The Zen)
There should be one-- and preferably only one --obvious way to do it.
We don't add a second way to do something just because we can, there needs to be some clear need that the existing way doesn't handle.
-- Richard Damon