?
What will be the output of the following Python code?
What will be the output of the following Python code?
def f1(a,b=[]):
b.append(a)
return b
print(f1(2,[3,4]))
def f1(a,b=[]):
b.append(a)
return b
print(f1(2,[3,4]))
Join the Discussion
Login to post a comment or share your explanation.
Login