51. What will be the output of the following Python code?
x = [34, 56]
print(len(map(str, x)))
						
					x = [34, 56]
print(len(map(str, x)))52. What will be the output of the following Python code?
i=0
def change(i):
   i=i+1
   return i
change(1)
print(i)
						
					i=0
def change(i):
   i=i+1
   return i
change(1)
print(i)53. What will be the output of the following Python code?
def foo(x):
    x[0] = ['def']
    x[1] = ['abc']
    return id(x)
q = ['abc', 'def']
print(id(q) == foo(q))
						
					def foo(x):
    x[0] = ['def']
    x[1] = ['abc']
    return id(x)
q = ['abc', 'def']
print(id(q) == foo(q))54. Which of the following refers to mathematical function?
						
					55. What will be the output of the following Python code?
a=10
globals()['a']=25
print(a)
						
					a=10
globals()['a']=25
print(a)56. Recursion and iteration are the same programming approach.
						
					57. What will be the output of the following Python code?
def a(b):
    b = b + [5]
 
c = [1, 2, 3, 4]
a(c)
print(len(c))
						
					def a(b):
    b = b + [5]
 
c = [1, 2, 3, 4]
a(c)
print(len(c))58. What is the length of sys.argv?
						
					59. What will be the output of the following Python code and state the type of copy that is depicted?
l1=[2, 4, 6, 8]
l2=[1, 2, 3]
l1=l2
l2
						
					l1=[2, 4, 6, 8]
l2=[1, 2, 3]
l1=l2
l260. What will be the output of the following Python code?
elements = [0, 1, 2]
def incr(x):
    return x+1
print(list(map(incr, elements)))
						
					elements = [0, 1, 2]
def incr(x):
    return x+1
print(list(map(incr, elements)))Read More Section(Functions in Python)
Each Section contains maximum 100 MCQs question on Functions in Python. To get more questions visit other sections.
