下面代码的执行结果是def change(mylist): mylist.append([1,2,3,4]) print(mylist) returnmylist = ["a","b","c"]change(mylist)print(mylist) A: ['a', 'b', 'c', [1, 2, 3, 4]]['a', 'b', 'c', [1, 2, 3, 4]] B: ['a', 'b', 'c', [1, 2, 3, 4]] C: ['a', 'b', 'c', 1, 2, 3, 4] D: ['a', 'b', 'c', 1, 2, 3, 4]['a', 'b', 'c', 1, 2, 3, 4]
下面代码的执行结果是def change(mylist): mylist.append([1,2,3,4]) print(mylist) returnmylist = ["a","b","c"]change(mylist)print(mylist) A: ['a', 'b', 'c', [1, 2, 3, 4]]['a', 'b', 'c', [1, 2, 3, 4]] B: ['a', 'b', 'c', [1, 2, 3, 4]] C: ['a', 'b', 'c', 1, 2, 3, 4] D: ['a', 'b', 'c', 1, 2, 3, 4]['a', 'b', 'c', 1, 2, 3, 4]
1