Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73289 Py自测 09闰年第n个月有多少天 Python3 Accepted 57 MS 4948 KB 125 2024-05-18 15:48:30

Tests(10/10):


Code:

import calendar n = int(input()) if 1 <= n <= 12: print(calendar.monthrange(2024, n)[1]) else: print("Invalid.")