• 2022-06-07 问题

    MonthandFlower={"1月":"梅花","2月":"杏花","3月":"桃花"}输出结果为:['梅花', '杏花', '桃花']的语句为: A: print(MonthandFlower.values()) B: print(MonthandFlower.keys()) C: print(MonthandFlower.items())

    MonthandFlower={"1月":"梅花","2月":"杏花","3月":"桃花"}输出结果为:['梅花', '杏花', '桃花']的语句为: A: print(MonthandFlower.values()) B: print(MonthandFlower.keys()) C: print(MonthandFlower.items())

  • 2021-04-14 问题

    给出如下代码: MonthandFlower={"1月":"梅花","2月":"杏花","3月":"桃花","4月":"牡丹花",\ "5月":"石榴花","6月":"莲花","7月":"玉簪花","8月":"桂花","9月":"菊花",\ "10月":"芙蓉花","11月":"山茶花","12月":"水仙花"} n = input("请输入1—12的月份:") print(n + "月份之代表花:" + MonthandFlower.get(str(n)+"月")) 以下选项中描述正确的是

    给出如下代码: MonthandFlower={"1月":"梅花","2月":"杏花","3月":"桃花","4月":"牡丹花",\ "5月":"石榴花","6月":"莲花","7月":"玉簪花","8月":"桂花","9月":"菊花",\ "10月":"芙蓉花","11月":"山茶花","12月":"水仙花"} n = input("请输入1—12的月份:") print(n + "月份之代表花:" + MonthandFlower.get(str(n)+"月")) 以下选项中描述正确的是

  • 1