Practice
Learn
← Quit
0 / 0 correct
Python
Medium
1 of 10
What does this print?
def add(x, items=[]): items.append(x) return items add(1) print(add(2))
A
[2]
B
[1]
C
[1, 2]
D
TypeError