A
Q. What is the output of the following program
Code:
def myfunc(a):
a = a + 2
a = a * 2
return a
print myfunc(2)
a = a + 2
a = a * 2
return a
print myfunc(2)
- Correct Answer - Option(C)
- Views: 26
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.