Kizspy | Question: 41 (Choose 1 answer)
List a is defined as follows: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']:
A. a.extend(['d', 'e'])
B. a += ['d', 'e']
C. a += 'de'
D. a[len(a):] = ['d', 'e']