###输入年份判断是否是闰年
years = input("输入年份\n")
try:
    if years or years >= 0 :
        if int(years) % 4 == 0:
            print(years,"是闰年")
        else:
            print(years,"不是闰年")
except ValueError:
    print("请正确输入")
4cb352f32c799d664b24897a8c0d206a8d73c472
<mask token>

<mask token>
try:
    if years or years >= 0:
        if int(years) % 4 == 0:
            print(years, '是闰年')
        else:
            print(years, '不是闰年')
except ValueError:
    print('请正确输入')

years = input('输入年份\n')
try:
    if years or years >= 0:
        if int(years) % 4 == 0:
            print(years, '是闰年')
        else:
            print(years, '不是闰年')
except ValueError:
    print('请正确输入')

###输入年份判断是否是闰年
years = input("输入年份\n")
try:
    if years or years >= 0 :
        if int(years) % 4 == 0:
            print(years,"是闰年")
        else:
            print(years,"不是闰年")
except ValueError:
    print("请正确输入")