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
Q1: What would be the value of the
Q2: Arrays, which most other programming languages allow,
Q4: What method can be used to convert
Q5: Indexing starts at 1, so the index
Q8: What is the advantage of using tuples
Q11: The _ method is commonly used to
Q11: The remove method removes all occurrences of
Q20: The index -1 identifies the last element
Q23: Tuples are _ sequences which means that
Q38: Each element in a tuple has a(n)_