题目:numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], which output of the following choices is correct?
A. >>> numbers[: -1] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
B. >>> numbers[-2:] [9, 10]
C. >>> numbers[0: 2] [1, 2, 3]
D. >>> numbers[0::3] [1, 3, 5, 7, 9]
答案:评论后可见此内容