注意:此页面搜索的是所有试题
[单选题,4分] 下面代码的输出结果是s =["seashell","gold","pink","brown","purple","tomato"] print(s[1:4:2])
A.[.gold.,.pink.,.brown.]
B.[.gold.,.pink.]
C.[.gold.,.pink.,.brown.,.purple.,.tomato.]
D.[.gold.,.brown.]

参考答案