#41860: 答案 (python)


Morrischen (morris)

學校 : 高雄市苓雅區復華高級中學國中部
編號 : 236381
來源 : [111.184.105.175]
最後登入時間 :
2024-10-19 19:13:51
d067. 格瑞哥里的煩惱 (1 行版) -- 板橋高中教學題 | From: [111.184.105.175] | 發表日期 : 2024-09-02 19:34

#d067. 格瑞哥里的煩惱 (1 行版)
i = int(input())
if i%4==0 and i%100!=0 or i%400==0: print("a leap year")
else:                               print("a normal year")

 
ZeroJudge Forum