Answer the question
In order to leave comments, you need to log in
Conditional constructions from NOT?
Good afternoon!
I'm just learning, so sorry for the possibly stupid question.
Studying the code of one project, I noticed that one of the developers builds conditional constructions of the form:
def somecode():
Если НЕ:
dosomething()
Answer the question
In order to leave comments, you need to log in
Most likely, a quick check usually puts the most common condition first, that is, the one that works most often,
but it seems like a matter of taste
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question