Python3 题解 | #判断闰年#
判断闰年
http://www.nowcoder.com/practice/a7bcbe3cb86f435d9617dfdd20a16714
#python3题解#
num = int(input())
print("yes" if (num % 4 == 0 and num % 100 != 0) or num % 400 == 0 else "no")
判断闰年
http://www.nowcoder.com/practice/a7bcbe3cb86f435d9617dfdd20a16714
#python3题解#
num = int(input())
print("yes" if (num % 4 == 0 and num % 100 != 0) or num % 400 == 0 else "no")
相关推荐