Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68027 金浩 09闰年第n个月有多少天 Python3 Accepted 32 MS 3784 KB 130 2024-03-18 18:27:46

Tests(10/10):


Code:

n=int(input()) list=[31,29,31,30,31,30,31,31,30,31,30,31] if n>=1 and n<=12: print(list[n-1]) else: print("Invalid.")