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