Solved

After the Following Series of Assignments Are Performed

Question 22

Multiple Choice

After the following series of assignments are performed,
List1 = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
List2 = list(list1)
List2[0][0] = 10


A) list1[0][0] will equal 1, and list2[0][0] will equal 10
B) list1[0][0] will equal 10, and list2[0][0] will equal 1
C) both list1[0][0] and list2[0][0] will equal 10
D) an error will result
E) id(list1) will equal id(list2)

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