PFP191_-_SP_2024_-_Block_5_-_FE_1906.webp
A

PFP191_-_SP_2024_-_Block_5_-_FE_1906.webp

(Choose 1 answer)
List a is defined as follows:
a = [1, 2, 3, 4, 5]
Select all of the following statements that remove the middle element 3 from a so that it equals [1, 2, 4, 5]:
A. a[2:2] = []
B. a[2] = []
C. del a[2]
D. a.remove(3)

Thông tin

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

Share this media

Back
Bên trên Bottom