Solved

What Would Be the Value of the Variable List2 After

Question 10

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents