Solved

After the Following Series of Assignments Are Performed

Question 34

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