首页
技术
登录
6mi
u
盘
搜
搜 索
技术
python:判断闰年
python:判断闰年
技术
2022-09-01
100
print("请输入需要判断年份:") year = int(input()) if (year % 4 == 0 & year % 100 != 0 & year % 400 == 0): print("是闰年") else: print("不是闰年")
转载请注明原文地址:https://ipadbbs.8miu.com/read-36235.html
最新回复
(
0
)