100 Câu hỏi trắc nghiệm lập trình Python có đáp án - Phần 1

Đâu là giá trị của colors[2]? colors = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']

40/50

Đâu là giá trị của colors[2]?
colors = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']

orange

indigo

blue

yellow

Giải thích

D là đáp án đúng