Home / Programming MCQs / Python MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. What will be displayed by the following code?
def f(value, values):
v = 1
values[0] = 44
t = 3
v = [1, 2, 3]
f(t, v)
print(t, v[0])

(A) 1 1
(B) 1 44
(C) 3 1
(D) 3 44

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.