Question · Python course · Module 2: Data Structures
The append() Method
What does the append() method do on a list?
Answer options
- Adds an element to the beginning of the list
- Removes the last element
- Adds an element to the end of the list
- Sorts the list
Show the answer
Correct answer:
- Adds an element to the end of the list