A
Q. What is the output of the following program?
Code:
L = [1, 3, 5, 7, 9]
print(L.pop(-3), end = )
print(L.remove(L[0]), end = )
print(L)
print(L.pop(-3), end = )
print(L.remove(L[0]), end = )
print(L)
- Correct Answer - Option(A)
- Views: 28
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.