list=[‘HAIDIAN’,‘XINXI’,1997,2000],则list[2]的值为()。
A: XINXI
B: A
C: I
D: 1997
A: XINXI
B: A
C: I
D: 1997
举一反三
- list=["HAIDIAN","XINXI",1997,2018],则list[2:]的值为() 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,2018],则list[-1]的值为()
- list=[1,2,3],list[-1]的值为() A: 1 B: 3 C: 2 D: []