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
Answer» D. 3 44
969
1
Do you find this helpful?
1

View all MCQs in

Python Programming

Discussion

Neeraja Bai
6 months ago

where we are calling the function ? what are the initial or default values of value and values?
0

Related MCQs