<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
>
<channel>
<title><![CDATA[EMLOG]]></title> 
<atom:link href="https://python.xinzs.cn/rss.php" rel="self" type="application/rss+xml" />
<description><![CDATA[使用emlog搭建的站点]]></description>
<link>https://python.xinzs.cn/</link>
<language>zh-cn</language>
<generator>www.emlog.net</generator>
<item>
    <title>python闰年判断</title>
    <link>https://python.xinzs.cn/?post=2</link>
    <description><![CDATA[<p>我自己写的python判断闰年代码</p>
<pre><code class="language-python">while True:
    a = input('请输入年份：')
    if a.isdigit():
        a = int(a)
        if a % 4 == 0 and a % 100 != 0 or a % 400 == 0:
            print('是闰年')
        else:
            print('不是闰年')
    else:
        print('非整数')</code></pre>
<p>这就是全部代码</p>]]></description>
    <pubDate>Sun, 06 Oct 2024 20:31:00 +0800</pubDate>
    <dc:creator>emer</dc:creator>
    <guid>https://python.xinzs.cn/?post=2</guid>
</item></channel>
</rss>