Multiple Choice
What would be the value of the variable list2 after the execution of the following code? list1 = [1, 2, 3]
List2 = list1
List1 = [4, 5, 6]
A) [1, 2, 3]
B) [4, 5, 6]
C) [1, 2, 3, 4, 5, 6]
D) invalid code
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: Arrays, which most other programming languages allow,
Q4: What method can be used to convert
Q8: What is the advantage of using tuples
Q14: The primary difference between a tuple and
Q20: The index -1 identifies the last element
Q22: What would you use if an element
Q25: What method can be used to place
Q27: A list cannot be passed as an
Q29: The first step in calculating the average
Q31: Which list will be referenced by the