• 2022-07-02
    执行下列代码后,变量list2的值将改变为哪个选项?[br][/br] list1 = [1, 2, 3] list2 = [] for element in list1: list2.append(element) list1 = [4, 5, 6]
    A: [1, 2, 3]
    B: [4, 5, 6]
    C: [1, 2, 3, 4, 5, 6]
    D: 没有;该代码无效