42.
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)

44.
What will be the output of the following Python code?
x = 50
def func(x):
    print('x is', x)
    x = 2
    print('Changed local x to', x)
func(x)
print('x is now', x)

Read More Section(Functions in Python)

Each Section contains maximum 100 MCQs question on Functions in Python. To get more questions visit other sections.