Python | Output Type | Question 1

Last Updated :
Discuss
Comments

What is the output of the following program : 

Python
def myfunc(a):
    a = a + 2
        a = a * 2
    return a

print myfunc(2)

8

16

Indentation Error

Runtime Error

Share your thoughts in the comments