year=int(input("year="))
print(year)
if year%400==0 or year%100==0 and year%4==0:
print("{0}是闰年".format(year))
else:
print("{0}不是闰年".format(year))
07-30
1859
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-05
4971
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交