A
Q. Write the output of the following:
Code:
L = ["A","B","C","D","E"]
for i in range(len(L)-2):
L.pop()
print(L)
for i in range(len(L)-2):
L.pop()
print(L)
- Correct Answer - Option(C)
- Views: 28
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.