n = int( ① ) #输入转为整数 if ② and n % 100 != 0 or n % 400 == 0: # 四年一润,百年不润,四百年再闰 print(③) #闰年二月天数 else: print(28)
使用您的 NWOJ 通用账户