下面代码的输出结果是 s=["seashell","gold","pink","brown","purple","tomato"] print(s[1:4:2]) A: ['gold', 'brown'] B: eas C: ["seashell","gold","pink","brown"] D: ["seashell","pink"]
下面代码的输出结果是 s=["seashell","gold","pink","brown","purple","tomato"] print(s[1:4:2]) A: ['gold', 'brown'] B: eas C: ["seashell","gold","pink","brown"] D: ["seashell","pink"]
下面代码的输出结果是( )。 s=("seashell","gold","pink","brown","purple","tomato") print(s[1::2]) A: ("seashell","pink","tomato") B: ("seashell","gold","pink","brown","purple","tomato") C: ('gold', 'brown' ) D: ('gold', 'brown', 'tomato')
下面代码的输出结果是( )。 s=("seashell","gold","pink","brown","purple","tomato") print(s[1::2]) A: ("seashell","pink","tomato") B: ("seashell","gold","pink","brown","purple","tomato") C: ('gold', 'brown' ) D: ('gold', 'brown', 'tomato')
DictColor={"seashell":"海贝色","gold":"金色","pink":"粉红色"} 以下选项中能输出"海贝色"的是( )。 A: print(DictColor["seashell"]) B: print(DictColor.keys()) C: print(DictColor["海贝色"]) D: print(DictColor.values())
DictColor={"seashell":"海贝色","gold":"金色","pink":"粉红色"} 以下选项中能输出"海贝色"的是( )。 A: print(DictColor["seashell"]) B: print(DictColor.keys()) C: print(DictColor["海贝色"]) D: print(DictColor.values())
给出如下代码:DictColor = {"seashell":"海贝色","gold":"金色","pink":"粉红色","brown":"棕色", "purple":"紫色","tomato":"西红柿色"} A: print(DictColor.keys()) B: print(DictColor["海贝色"]) C: print(DictColor.values()) D: print(DictColor["seashell"])
给出如下代码:DictColor = {"seashell":"海贝色","gold":"金色","pink":"粉红色","brown":"棕色", "purple":"紫色","tomato":"西红柿色"} A: print(DictColor.keys()) B: print(DictColor["海贝色"]) C: print(DictColor.values()) D: print(DictColor["seashell"])
下面代码的输出结果是()s =["seashell","gold","pink","brown","purple","tomato"] print(len(),min(),max()) A: 5 purple tomato B: 6 brown tomato C: 6 seashell gold D: 5 pink brown
下面代码的输出结果是()s =["seashell","gold","pink","brown","purple","tomato"] print(len(),min(),max()) A: 5 purple tomato B: 6 brown tomato C: 6 seashell gold D: 5 pink brown
下面代码的输出结果是( )s=["seashell","gold","pink","brown","purple","tomato"]print(s[4:]) A: ['purple', 'tomato'] B: ['gold', 'pink', 'brown', 'purple', 'tomato'] C: ['seashell', 'gold', 'pink', 'brown'] D: ['purple']
下面代码的输出结果是( )s=["seashell","gold","pink","brown","purple","tomato"]print(s[4:]) A: ['purple', 'tomato'] B: ['gold', 'pink', 'brown', 'purple', 'tomato'] C: ['seashell', 'gold', 'pink', 'brown'] D: ['purple']
下面代码的输出结果是s =["seashell","gold","pink","brown","purple","tomato"]print(s[4:]) A: ['purple', 'tomato'] B: ['gold', 'pink', 'brown', 'purple', 'tomato'] C: ['seashell', 'gold', 'pink', 'brown'] D: ['purple']
下面代码的输出结果是s =["seashell","gold","pink","brown","purple","tomato"]print(s[4:]) A: ['purple', 'tomato'] B: ['gold', 'pink', 'brown', 'purple', 'tomato'] C: ['seashell', 'gold', 'pink', 'brown'] D: ['purple']
下面代码的输出结果是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']
下面代码的输出结果是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']
下面代码的输出结果是() s<br/>=["seashell","gold","pink","brown","purple","tomato"] print(len(),min(),max()) A: 5 purple tomato B: 6 brown tomato C: 6 seashell gold D: 5 pink brown
下面代码的输出结果是() s<br/>=["seashell","gold","pink","brown","purple","tomato"] print(len(),min(),max()) A: 5 purple tomato B: 6 brown tomato C: 6 seashell gold D: 5 pink brown
下面程序的输出结果是()。 s=["seashell","gold","pink","brown","purple","tomato"] print(s[1:4:2]) A: ["gold","brown“] B: ["gold","pink","brown"] C: ["gold","pink"] D: s=["seashell","pink","brown","purple","tomato"]
下面程序的输出结果是()。 s=["seashell","gold","pink","brown","purple","tomato"] print(s[1:4:2]) A: ["gold","brown“] B: ["gold","pink","brown"] C: ["gold","pink"] D: s=["seashell","pink","brown","purple","tomato"]