A
Q. What will be the output of the following Python code?
Code:
def f1(a,b=[]):
b.append(a)
return b
print(f1(2,[3,4]))
b.append(a)
return b
print(f1(2,[3,4]))
- Correct Answer - Option(D)
- Views: 21
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.