Q131
What will be the output of the following Python code? def change(var, lst): var = 1 lst[0] = 44 k = 3 a = [1, 2, 3] change(k, a) print(k) print(a)
A.
3
[44, 2, 3]
Answer[44, 2, 3]
B.
1
[1,2,3]
[1,2,3]
C.
3
[1,2,3]
[1,2,3]
D.
1
[44,2,3]
[44,2,3]
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board