请在 下方输入 要搜索的题目:

For the sequence: numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], which of the following relevant operation and corresponding output is correct?


A、>>> numbers[0: 2] [1, 2, 3];

B、>>> numbers[-2:] [9, 10];

C、>>> numbers[: -1] [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

D、>>> numbers[0::3] [1, 3, 5, 7, 9]

发布时间:2025-09-02 18:53:40
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:>>> numbers[-2:] [9, 10]
专业技术学习
专业技术学习
搜搜题库系统