对于列表 my_list = [['a', 'b'], 1, 2] ,执行哪项操作可以生成新列表 ['a', 'b', 'c']?
A. new_list = my_list[0].append('c')
B. new_list = my_list[0] + ['c']
C. new_list = my_list[0].extend(['c'])
D. new_list = my_list.pop(0).append('c')
正确答案:B
试卷来源:202512 CCF-GESP编程能力等级认证Python四级真题