A

Admin • 832.27K Points
Coach

Q. What does the pop method do in a list?

  • (A) Removes the last item
  • (B) Adds an item
  • (C) Sorts the list
  • (D) Reverses the list
  • Correct Answer - Option(A)
  • Views: 16
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

pop removes and returns the last item from the list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.