+ 2
How to add Boolean conditions in Python?
like In C we do if( h==0 || h==1) && g==0 {bunch of statements }
2 odpowiedzi
+ 3
The above isnt following order of operations
if ((h == 1 or h == 2) and g == 0):
func()
if x:
func()
if y:
func2()
+ 1
thnx I will try both