Question PRG-PY-0061
HardWhat is the output of this program?
def f(a, b=[], *, c=0):
b.append(a + c)
return b
print(f(1), f(2, c=10), f(3, []))
- A.
[1] [1, 12] [3]
- B.
[1] [12] [3]
- C.
Sign up free to see the answer and a step-by-step explanation.