PFP191_-_SU_2024_-_RE_2495.webp
vanbinh99

PFP191_-_SU_2024_-_RE_2495.webp

Kizspy | Question: 41 (Choose 1 answer)
List a is defined as follows:a = ['a', 'b', 'c']
Which of the following statements adds 'd' and 'e' to the end of a, so that it then equals ['a', 'b', 'c', 'd', 'e']:
A. a.extend(['d', 'e'])
B. a += ['d', 'e']
C. a += 'de'
D. a[len(a):] = ['d', 'e']

Thông tin

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

Share this media

Back
Bên trên Bottom