<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=%E3%82%B7%E3%83%BC%E3%82%B6%E3%83%BC%E6%9A%97%E5%8F%B7%2FPython</id>
	<title>シーザー暗号/Python - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=%E3%82%B7%E3%83%BC%E3%82%B6%E3%83%BC%E6%9A%97%E5%8F%B7%2FPython"/>
	<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E3%82%B7%E3%83%BC%E3%82%B6%E3%83%BC%E6%9A%97%E5%8F%B7/Python&amp;action=history"/>
	<updated>2026-06-05T08:28:01Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://monobook.org/w/index.php?title=%E3%82%B7%E3%83%BC%E3%82%B6%E3%83%BC%E6%9A%97%E5%8F%B7/Python&amp;diff=2085&amp;oldid=prev</id>
		<title>219.108.113.216: ページの作成：「Pythonによるシーザー暗号（カエサル暗号）の記述例。  == 記述例1 == The Zen of Pythonのソースコードから抜粋し関...」</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E3%82%B7%E3%83%BC%E3%82%B6%E3%83%BC%E6%9A%97%E5%8F%B7/Python&amp;diff=2085&amp;oldid=prev"/>
		<updated>2012-05-23T02:54:09Z</updated>

		<summary type="html">&lt;p&gt;ページの作成：「&lt;a href=&quot;/wiki/Python&quot; title=&quot;Python&quot;&gt;Python&lt;/a&gt;による&lt;a href=&quot;/wiki/%E3%82%B7%E3%83%BC%E3%82%B6%E3%83%BC%E6%9A%97%E5%8F%B7&quot; title=&quot;シーザー暗号&quot;&gt;シーザー暗号&lt;/a&gt;（&lt;a href=&quot;/wiki/%E3%82%AB%E3%82%A8%E3%82%B5%E3%83%AB%E6%9A%97%E5%8F%B7&quot; class=&quot;mw-redirect&quot; title=&quot;カエサル暗号&quot;&gt;カエサル暗号&lt;/a&gt;）の記述例。  == 記述例1 == &lt;a href=&quot;/wiki/The_Zen_of_Python&quot; title=&quot;The Zen of Python&quot;&gt;The Zen of Python&lt;/a&gt;の&lt;a href=&quot;/wiki/%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89&quot; title=&quot;ソースコード&quot;&gt;ソースコード&lt;/a&gt;から抜粋し関...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Python]]による[[シーザー暗号]]（[[カエサル暗号]]）の記述例。&lt;br /&gt;
&lt;br /&gt;
== 記述例1 ==&lt;br /&gt;
[[The Zen of Python]]の[[ソースコード]]から抜粋し関数化したもの。絶対に[[The Zen of Python]]のオリジナルのソースコードを見ておくこと。シフト数は13に固定されており、いわゆる[[ROT13]]となっている。&lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
def caeser_decode(text):&lt;br /&gt;
    d = {}&lt;br /&gt;
    for c in (65, 97):&lt;br /&gt;
        for i in range(26):&lt;br /&gt;
            d[chr(i+c)] = chr((i+13) % 26 + c)&lt;br /&gt;
    return &amp;quot;&amp;quot;.join([d.get(c, c) for c in text])&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 関連項目 ==&lt;br /&gt;
* [[Python]]&lt;br /&gt;
* [[シーザー暗号]]&lt;br /&gt;
&lt;br /&gt;
== 参考文献 ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 外部リンク ==&lt;br /&gt;
&lt;br /&gt;
{{stub}}&lt;/div&gt;</summary>
		<author><name>219.108.113.216</name></author>
	</entry>
</feed>