#29793: Python 一行解公式


Donye (冬夜)

School : No School
ID : 185967
IP address : [120.101.47.253]
Last Login :
2022-10-02 15:03:15
d069. 格瑞哥里的煩惱 (t 行版) -- 板橋高中教學題 | From: [111.254.66.131] | Post Date : 2022-04-01 21:35

for i in range(int(input())): (lambda y : print('a leap year') if y%400 == 0 or y%4 == 0 and y%100 != 0 else print('a normal year'))(int(input()))
 
ZeroJudge Forum