对于序列numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],以下相关操作和对应输出正确的是哪一项()
A. >>> numbers[0: 2]
B. [1, 2, 3]
C. B.>>> numbers[: -1]
D. [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
E. C.>>> numbers[-2:]
F. [9, 10]
G. D.>>> numbers[0::3]
H. [1, 3, 5, 7, 9]
以下哪一条语句不能实现”hello world”字符串在一行中输出()
A. print(‘hello world’)
B. print(“hello world”)
C. print(”’hello
D. world”’)
E. D.print(‘hello \
F. world’)