Q. What is the output of the following program :
Code:
def myfunc(a): a = a + 2 a = a * 2 return a print myfunc(2)
β
Correct Answer: (C)
Indentation Error
Explanation: Python is strict to indentation. Here you might have noticed that the code is not properly indented. So throws an indentation error.