A

Admin • 802.91K Points
Coach

Q. What will be displayed by the following code?

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
  • Correct Answer - Option(D)
  • Views: 8
  • Filed under category Python
  • Hashtags:

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.

Be the first to start discuss.