When I input the "a" value as 1 and the "b" value as 1, the answer printed will be 2,-1. Why is it not 3,-1?
a = int(input("a value:"))
b = int(input("b value:"))
if a > 0 and b > 0:
a = a + 1
b = b - 1
if a > 0 or b < 0:
b = b - 1
if b > 0 or a < 0:
a = a + 1
print(a, b)
b=-1anda=2