题海让大学四年没有难题
白天模式登陆

题目详情

单选题 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::3] [1, 3, 5, 7, 9]

D. >>> numbers[0: 2] [1, 2, 3]

Python程序设计(双语)课程封面

学科:Python程序设计(双语)

时间:2023-11-24 00:22:56

Copyright © 2022 津ICP备2021001502号