基础训练 BASIC-1 闰年判断
y = int(input())
if y>=1990 and y<=2050:
if y%400 == 0:
print("yes")
elif y%4 == 0 and y%100 != 0:
print("yes")
else:
print("no")
基础训练 BASIC-1 闰年判断
y = int(input())
if y>=1990 and y<=2050:
if y%400 == 0:
print("yes")
elif y%4 == 0 and y%100 != 0:
print("yes")
else:
print("no")