1.

What is the output of the following code? def foo(k): k[0] = 1 q = [0] foo(q) print(q)

A. [0].
B. [1].
C. [1, 0].
D. [0, 1].
Answer» C. [1, 0].


Discussion

No Comment Found