下面代码的输出结果是s =[“seashell”,“gold”,“pink”,“brown”,“purple”,“tomato”]print(s[4:])、
(A)[‘purple’]
(B) [‘seashell’, ‘gold’, ‘pink’, ‘brown’]
(C) [‘brown’, ‘purple’, ‘tomato’]
(D) [‘purple’, ‘tomato’]
参考答案
继续答题:下一题


(A)[‘purple’]
(B) [‘seashell’, ‘gold’, ‘pink’, ‘brown’]
(C) [‘brown’, ‘purple’, ‘tomato’]
(D) [‘purple’, ‘tomato’]