A
Q. What will the following code print?
Code:
x = [1, 2, 3]
x.append([4, 5])
print(len(x))
x.append([4, 5])
print(len(x))
- Correct Answer - Option(B)
- Views: 24
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.