【单选题】
给出如下代码 MonthandFlower={"1月":"梅花","2月":"杏花","3月":"桃花","4月":"牡丹花",\"5月":"石榴花","6月":"莲花","7月":"玉簪花","8月":"桂花",\"9月":"菊花","10月":"芙蓉花","11月":"山茶花","12月":"水仙花"} n = input("请输入1-12的月份:") print(n + "月份之代表花:" + MonthandFlower.get(str(n)+"月")) 以下选项中描述正确的是()
D.
代码实现了获取一个整数(1-12)来表示月份,输出该月份对应的代表花名