求整数商 c=a/b 计 算 模 r=a-c*b
"""
作者:Master.YS
日期:2022/3/26
"""
year = int(input('请输入您需要查询的年份:'))
print(year, '年')
flag1 = year % 4 == 0
flag2 = year % 100 == 0
flag3 = year % 400 == 0
year1 = flag1 and not flag2
# year2 = flag3 and not flag2
print(year1 or flag3)
# print(flag1)
# print(flag2)
# print(flag3)