python–calendar模块常用 1.生成日历 import calendar yy = int(input("输入年份:")) mm = int(input("输入月份:")) print(calendar.