R
Q. What this code of Python will return?
Code:
x = [1, 2, 3, 4, 5]
y = x
y[0] = 100
print(x)
y = x
y[0] = 100
print(x)
- Correct Answer - Option(D)
- Views: 94
- Filed under category Python
Discusssion
Login to discuss.