In line 4 why do we have to add \"=\" after \"-\" ?
num = 5 if num > 2: print(num) num -= 1 print(num)
Because num - 1 does nothing, but num -= 1 changes the value of num by minus one.
num - 1
num -= 1
num