摘要: temp = input('请输入年份:') while not isinstance(temp, int): temp = input('抱歉,您的输入有误,请输入年份:') year = int(temp) if year % 400 == 0: print('%d是闰年!'%(year)) e 阅读全文
posted @ 2016-11-17 11:02 月光边境Eric 阅读(392) 评论(0) 推荐(0) 编辑