?
What will be the output of the following Python code?
What will be the output of the following Python code?
def f(values):
values[0] = 44
v = [1, 2, 3]
f(v)
print(v)
def f(values):
values[0] = 44
v = [1, 2, 3]
f(v)
print(v)
Join the Discussion
Login to post a comment or share your explanation.
Login