Beginner
Python
Q17 / 101
Which method adds an element to the end of a list?
Correct! Well done.
Incorrect.
The correct answer is D) append()
D
Correct Answer
append()
Explanation
list.append(item) adds item to the end of the list in O(1) amortized time.
Progress
17/101