[python] Can someone explain how if statements with multiple conditions work?
Basically I have been working on a piece of code for example
while x > 0 or y < 100: print(something) print(y,x)
And the output would be something like this
190 , 0
Which is really annoying as it's only following one condition , I tried this with if statements and I got the same thing.
Can explain these multiple Condition concepts to me?
It just repeats for me until the first condition is met