题目详情
单选题 numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], which output of the following choices is correct
A. >>> numbers[0: 2] [1, 2, 3]
B. >>> numbers[0::3] [1, 3, 5, 7, 9]
C. >>> numbers[-2:] [9, 10]
D. >>> numbers[: -1] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

学科:默认课程
时间:2026-05-23 00:06:45
相关题目
相关作业
