Run ID:85545

提交时间:2024-07-17 20:12:20

def is_leap_year(year): if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0): return f"{year} Yes" else: return f"{year} No" year = int(input()) print(is_leap_year(year))