A
Q. What will be the output of this code?
Code:
x = [1, 2, 3]
y = x
x.append(4)
print(y)
y = x
x.append(4)
print(y)
- Correct Answer - Option(B)
- Views: 37
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.