PRP201c_-_FA_2024_-_FE_3168.webp
D

PRP201c_-_FA_2024_-_FE_3168.webp

Kizspy | Question: 48
(Choose 1 answer)
What will be the result of the following code snippet?
list1 = [1, 2, 3]
list2 = list1.copy()list1.append(4)
print(list2)
A. [1, 2, 3]
B. [1, 2, 3, 4]
C. [4, 1, 2, 3]
D. An error will be raised

Thông tin

Category
PRP201c
Thêm bởi
dinhhoa305
Ngày thêm
Lượt xem
1,148
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom