下列选项中能够输出“极光色”的是()。 DictColor={"twilight":"极光色","gold":"金色","pink":"粉红色","brown":"棕色","purple":"紫色","tomato":"西红柿色"}
A: print(DictColor["极光色"])
B: print(DictColor.keys())
C: print(DictColor["twilight "])
D: print(DictColor.values())
A: print(DictColor["极光色"])
B: print(DictColor.keys())
C: print(DictColor["twilight "])
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["seashell"]) B: print(DictColor.keys()) C: print(DictColor.values()) D: print(DictColor["海贝色"])
- DictColor = {"seashell":"海贝色","gold":"金色","pink":"粉红色","brown":"棕色", "purple":"紫色","tomato":"西红柿色"}以下选项中能输出“海贝色”的是: A: print(DictColor["海贝色"]) B: print(DictColor.keys()) C: print(DictColor.values()) D: print(DictColor["seashell"])
- 7.如下代码:DictColor={"seashell":"海贝色,"gold":"金色","pink":"粉红色","brown":"棕色", "purple":"紫色","tomato":"西红柿色"} 以下选项中能输出“海贝色”的是( )。 A: print(DictColor.keys()) B: print(DictColor.values()) C: print(DictColor["seashell"]) D: print(DictColor["海贝色"])
- 给出如下代码: DictColor = {"seashell":"海贝色","gold":"金色","pink":"粉红色","brown":"棕色","purple":"紫色","tomato":"西红柿色"}以下选项中能输出“海贝色”的是 A: print(DictColor["seashell"]) B: print(DictColor.keys()) C: print(DictColor.values()) D: print(DictColor["海贝色"])