擅长:python、mysql、java
<p><code>calendar.monthrange()</code>接受2个参数,<code>year</code>和{<cd3>}。有关详细信息,请参阅此处的文档:</p>
<p><a href="https://docs.python.org/2/library/calendar.html#calendar.monthrange" rel="nofollow noreferrer">calendar.monthrange(year, month)</a></p>