Solved

What Would Be the Value of the Variable List After

Question 27

Multiple Choice

What would be the value of the variable list after the execution of the following code?
List = [1, 2]
List = list * 3


A) [1, 2] * 3
B) [3, 6]
C) [1, 2, 1, 2, 1, 2]
D) [[1, 2], [1, 2], [1, 2]]

Correct Answer:

verifed

Verified

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

Related Questions