list=["HAIDIAN","XINXI",1997,2018],则list[2:]的值为()
A: ["XINXI",1997,2018]
B: ["1997, 2018"]
C: ["XINXI"]
D: [1997]
A: ["XINXI",1997,2018]
B: ["1997, 2018"]
C: ["XINXI"]
D: [1997]
举一反三
- list=["HAIDIAN","XINXI",1997,2018],则list[0:-1]的值为() A: [] B: ["HAIDIAN","XINXI",1997] C: ["HAIDIAN","XINXI",1997,2018] D: [2018]
- list=[“HAIDIAN”,“XINXI”,1997,2018],则list[-1]的值为()。 A: 8 B: 2018 C: 7 D: 1997
- list=[‘HAIDIAN’,‘XINXI’,1997,2000],则list[2]的值为()。 A: XINXI B: A C: I D: 1997
- list=['HAIDIAN','XINXI',1997,2018],则list[-1]的值为()
- lst=["HAIDIAN","XINXI",1997,2018],则lst[2:]的值为