• 2022-06-08
    下面代码的输出
    结果是
    s
    =["seashell","gold","pink","brown","purple","tomato"]; print(s[1:4:2])
    A: ['gold', 'brown']
    B: ['gold', 'pink', 'brown']
    C: ['gold', 'pink']
    D: ['gold', 'pink', 'brown', 'purple', 'tomato']
  • 举一反三