#37039: python 紀錄


BensonDC (python戰士)

學校 : 不指定學校
編號 : 240921
來源 : [1.175.217.87]
最後登入時間 :
2024-03-27 12:33:26
d072. 格瑞哥里的煩惱 (Case 版) -- 板橋高中教學題 | From: [36.238.105.93] | 發表日期 : 2023-08-19 22:42

t=int(input())
for i in range(1,t+1):
    n=int(input())
    if n%400==0 or n%4==0 and n%100!=0:print(f"Case {i}: a leap year")
    else:print(f"Case {i}: a normal year")

 

 
ZeroJudge Forum