题目: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[len(a):] = ['d', 'e']
D. a += 'de'
E. a.append(['d', 'e'])
F. a[-1:] = ['d', 'e']
答案:评论后可见此内容