A
Q. What will be the output of this code?
Code:
a = [1, 2, 3]
a[1:2] = [7, 8]
print(a)
a[1:2] = [7, 8]
print(a)
- Correct Answer - Option(A)
- Views: 12
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.