Which of the following will be the output of the below code snippet? def foo(x=[]): x.append(1) print(x) foo() foo() foo()
Correct Answer: [1] [1, 1] [1, 1, 1]
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions