PFP191Xuất hiện trong 1 đề thi
List a is defined as follows: ```python a = ['a', 'b', 'c'] ``` Which of the following statements adds 'd' and 'e' to the end of a, so that it then equals ['a', 'b', 'c', 'd', 'e']?
Các lựa chọn
A```python
a.extend(['d', 'e'])
```
B```python
a += ['d', 'e']
```
C```python
a += 'de'
```
D```python
a[len(a):] = ['d', 'e']
```