(单选题, )<br class="markdown_return">"执行下面操作后,list2的值是:( )<br cla

分类: 初级Python开发工程师 发布时间: 2023-11-03 11:12 浏览量: 1

(单选题, )
"执行下面操作后,list2的值是:( )
>>>list1 = ['a', 'b', 'c']
>>>list2 = list1
>>>list1.append('de')

A.['a', 'b', 'c']

B.['a', 'b', 'c', 'de']

C.['d', 'e', 'a', 'b', 'c']

D.['a', 'b', 'c', 'd', 'e']

正确答案是B