32 字
约 6 秒
8
code4-7-闰年判断
2026-09-26
无标签

year = int(input('请输入年份'))
if not year % 4 and year % 100 or not year % 400:
print('是闰年')
else:
print('不是闰年')

code4-7-闰年判断
https://www.clxhxhhr.top/posts/4478/
作者
clxstart
发布于
2026-09-26
许可协议
CC BY-NC-SA 4.0
评论
0 条
还没有评论,先写一条吧。