登录  注册

首页->Python练习题

下面代码的输出结果是( )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']

参考答案
继续答题:下一题
微考学堂微考学社

更多Python练习题试题

考试