A

Admin • 831.35K Points
Coach

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)
  • (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]
  • Correct Answer - Option(A)
  • Views: 28
  • Filed under category Python
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.