<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TomoProg</author_name>
  <author_url>https://blog.hatena.ne.jp/TomoProg/</author_url>
  <blog_title>TomoProgの技術書</blog_title>
  <blog_url>https://tomoprog.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>皆さん こんにちは、こんばんは TomoProgです。昨日、2月29日だった・・・ 今年は閏年だ！！ というわけで、記念すべき20記事目はPythonを使って閏年を判定してみます。それでは頑張っていきましょう。 閏年の判定方法 閏年というと4年に一度あるんだから4で割り切れる年が閏年だ！！ と考えてしまう人も多いと思うのですが、実は意外と複雑なんです。 西暦が4で割り切れる年はうるう年 ただし、4で割り切れても100で割り切れる年はうるう年でない ただし、100で割り切れても400で割り切れる年はうるう年 それでは、上記を踏まえてPythonで閏年判定プログラムを書いてみたいと思います。 閏年…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomoprog.hatenablog.com%2Fentry%2F2016%2F03%2F01%2F004755&quot; title=&quot;Pythonで閏年を判定してみた - TomoProgの技術書&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-03-01 00:47:55</published>
  <title>Pythonで閏年を判定してみた</title>
  <type>rich</type>
  <url>https://tomoprog.hatenablog.com/entry/2016/03/01/004755</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
