>>> a = 5 >>> if a > 5: ... a = a + 1 ... elif a == 5: ... a = a + 1000 ... else: ... a = a - 1 ... >>> a 1005