Q. Consider the following code segment and identify what will be the output of given Python code?
Code:
a = int(input("Enter an integer: "))
b = int(input("Enter an integer: "))
if a <= 0:
b = b +1
else:
a = a + 1
β
Correct Answer: (C)
Both A and B