Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77863 吴梓玄 生理周期 Python3 Compile Error 0 MS 0 KB 188 2024-06-15 16:31:41

Tests(0/0):


Code:

p,e,i,d=map(int, input().split(" ")) a=p+1 while((a-p)%23): a+=1 while ((a-e)%28): a+=23 while ((a-i)%33): a+=23*28 print(f'the next triple peak occurs in {a-d} days.')


Run Info:

  File "Main.py", line 9
    print(f'the next triple peak occurs in {a-d} days.')
                                                      ^
SyntaxError: invalid syntax