Run ID:72069
提交时间:2024-04-30 19:46:57
def is_leap_year(year): if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0): return True else: return False t = int(input()) for i in range(t): year = int(input()) if is_leap_year(year): print("Yes") else: print("No")