单选题:After executed the following code, the value of the variable lst
After executed the following code, the value of the variable lst will change to which option?
lst = [1, 2]
lst = lst * 3
@[C](2)
A. [1, 2] * 3
B. [3, 6]
C. [1, 2, 1, 2, 1, 2]
D. [1, 2], [1, 2], [1, 2]
A.[1, 2] * 3
B.[3, 6]
C.[1, 2, 1, 2, 1, 2]
D.[1, 2], [1, 2], [1, 2]
答案:C
lst = [1, 2]
lst = lst * 3
@[C](2)
A. [1, 2] * 3
B. [3, 6]
C. [1, 2, 1, 2, 1, 2]
D. [1, 2], [1, 2], [1, 2]
A.[1, 2] * 3
B.[3, 6]
C.[1, 2, 1, 2, 1, 2]
D.[1, 2], [1, 2], [1, 2]
答案:C