下面代码的输出结果是( )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']
参考答案
继续答题:下一题
(A)['gold', 'pink', 'brown', 'purple', 'tomato']
(B)['gold', 'pink']
(C)['gold', 'brown']
(D)['gold', 'pink', 'brown']