Consider a following snippet:
a = 0 if a == 0 or a > 0: print(a)
Essentially, I want to do something when a is not nega
a
I was surprised to see that this particular operation does not exist in Python!
I'm not familiar with any language that does have this operator. It is simply not needed.
As for your snippets:
if a == 0 or a > 0
It is exactly the same as if a >= 0
if a >= 0