Question · Python course · Module 2: Data Structures

The pop() Method

What does the pop() method return?

Answer options

  • None
  • A new list
  • The index of the removed element
  • The removed element
Show the answer

Correct answer:

  • The removed element