單項(xiàng)選擇題對于列表numbers=[1,2,3,4,5,6,7,8,9,10],以下相關(guān)操作和對應(yīng)輸出正確的是哪一項(xiàng)?()

A.numbers[0:2]輸出[1,2,3]
B.numbers[0:-l]輸出[1,2,3,4,5,6,7,8,9,10]
C.numbers[-2:]輸出[9,10]
D.numbers[0:3]輸出[2,3,4]


您可能感興趣的試卷