
Ultimate access to all questions.
What will be the output of the function check_input when executed with input parameters 1 and 3? The function is defined as follows:
def check_input(x, y):
if x < y:
x = x + 1
if x > y:
x = x + 1
if x < y:
x = x + 1
return x
def check_input(x, y):
if x < y:
x = x + 1
if x > y:
x = x + 1
if x < y:
x = x + 1
return x
A
1
B
2
C
3
D
4
E
5