题目内容

对于序列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’)

以下对于序列的相关操作中正确的输出结果是哪一项()

A. >>> [5] * 2
B. [10]
C. B.>>> word = ‘cloud’; word[5]
D. ‘d’
E. C.>>> word = ‘cloud’; print(min(word))
F. c
G. D.>>> print(‘Merry Xmas ‘ + 12.25)
H. Merry Xmas 12

Reporters can exert their creativity in writing a feature story, as John Branch did in writing “Snow Fall: The Avalanche at Tunnel Creek”, a feature published on The New York Times. According to this

A. Pictures
B. Interactive graphics
C. Animated simulations
D. Stunning videos
E. All of the above

How do you categorize a piece of travel writing()

A. It’s a human interest story
B. It’s a trend story
C. It’s an in-depth story
D. It can be any of the above

答案查题题库