Report Bug
Qus :

What will be the output?

a = [1, 2, 3]
b = a
b.append(4)
print(a)

Qus

What will be the output?

a = [1, 2, 3]
b = a
b.append(4)
print(a)


A. [1, 2, 3]
B. [1, 2, 3, 4]
C. [4]
D. Error


Solution
B. [1, 2, 3, 4]






Report Bug