πŸ“Š Python
Q. What is the output of the following program?
L = [1, 3, 5, 7, 9]
print(L.pop(-3), end = ' ')
print(L.remove(L[0]), end = ' ')
print(L)
  • (A) 5 None [3, 7, 9]
  • (B) 5 1 [3, 7, 9]
  • (C) 5 1 [3, 7, 9]
  • (D) 5 None [1, 3, 7, 9]
πŸ’¬ Discuss
βœ… Correct Answer: (A) 5 None [3, 7, 9]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
210
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Vijay Sangwan
Publisher
πŸ“ˆ
84%
Success Rate