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
You can use the equal or greater than operator:
if a >= 0: print(a)