1、输出日期 import datetime # 调用日期模块datetimeprint('当前年份:'+str(datetime.datetime.now().year)) # 输出当前年份print('当前日期时间:...