Why this code is not infinite loop. I thought if a number in while condition, then it is always True.negative is still a number even though it changes from negative to positive. But when I run this code in spyder, it was stopped after negative is changed to 0. Why "while" loop stopped when negative changed ?
>>> positive = -9
>>> negative = -12
>>> while negative:
...    if positive:
...        print(negative)
...    positive += 3
...    negative += 3
 
    