Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130760 叶航帅 08判断是否为闰年 Python3 Compile Error 0 MS 0 KB 232 2025-09-15 21:11:49

Tests(0/0):


Code:

t = int(input()) if t % 4 == 0: if t % 100 == 0: if t % 400 == 0: print(f'{t} Yes') else: print(f'{t} No') else: print(f'{t} Yes') else: print(f'{t} No')


Run Info:

  File "Main.py", line 5
    print(f'{t} Yes')
                   ^
SyntaxError: invalid syntax