In Python language, which of the following method of lists is used to add an element to the end of the list?
- Aindex ( )
- Bsort ( )
- Cpop ( )
- Dappend ( )
Correct answer: D
In Python language, which of the following method of lists is used to add an element to the end of the list?