?
What will be the output of the following Python code?
What will be the output of the following Python code?
def change(i = 1, j = 2):
i = i + j
j = j + 1
print(i, j)
change(j = 1, i = 2)
def change(i = 1, j = 2):
i = i + j
j = j + 1
print(i, j)
change(j = 1, i = 2)
Join the Discussion
Login to post a comment or share your explanation.
Login