(单选题, )
下面代码的输出结果是( )
S =["seashell","gold","pink","brown","purple","tomato"]
Print(s[1:4:2])
A.['gold', 'pink', 'brown', 'purple', 'tomato'] B.['gold', 'pink'] C.['gold', 'brown'] D.['gold', 'pink', 'brown']正确答案C
(单选题, )
下面代码的输出结果是( )
S =["seashell","gold","pink","brown","purple","tomato"]
Print(s[1:4:2])
A.['gold', 'pink', 'brown', 'purple', 'tomato'] B.['gold', 'pink'] C.['gold', 'brown'] D.['gold', 'pink', 'brown']正确答案C