Q.

What is the output of the following program :
def myfunc(a):
a = a + 2
a = a * 2
return a
print myfunc(2)

A. 8
B. 16
C. Indentation Error
D. Runtime Error
Answer» C. Indentation Error

View all MCQs in

Python Programming

Discussion

No comments yet