您的程式被監控系統中斷,可能是程式無法正常結束所導致。
Traceback (most recent call last):
File "/4308614/code_4308614.py", line 4, in
year=int(input())
EOFError: EOF when reading a line
My code:
year=0
while year!=0:
year=int(input())
if ((year%400)==0) or ((year%4)==0) and ((year%100)!=0):