Q134
What will be the output of the following Python code? def f1(a,b=[]): b.append(a) return b print(f1(2,[3,4]))
A.
[3,2,4]
B.
[2,3,4]
C.
Error
D.
[3,4,2]
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board