Fred Drake | 63cd9bf | 2002-02-08 20:13:47 +0000 | [diff] [blame] | 1 | s = """Gur Mra bs Clguba, ol Gvz Crgref |
Guido van Rossum | 5ff8cb4 | 2002-02-08 20:41:34 +0000 | [diff] [blame] | 2 | |
Fred Drake | 63cd9bf | 2002-02-08 20:13:47 +0000 | [diff] [blame] | 3 | Ornhgvshy vf orggre guna htyl. |
| 4 | Rkcyvpvg vf orggre guna vzcyvpvg. |
| 5 | Fvzcyr vf orggre guna pbzcyrk. |
| 6 | Pbzcyrk vf orggre guna pbzcyvpngrq. |
| 7 | Syng vf orggre guna arfgrq. |
| 8 | Fcnefr vf orggre guna qrafr. |
| 9 | Ernqnovyvgl pbhagf. |
| 10 | Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf. |
| 11 | Nygubhtu cenpgvpnyvgl orngf chevgl. |
| 12 | Reebef fubhyq arire cnff fvyragyl. |
| 13 | Hayrff rkcyvpvgyl fvyraprq. |
| 14 | Va gur snpr bs nzovthvgl, ershfr gur grzcgngvba gb thrff. |
| 15 | Gurer fubhyq or bar-- naq cersrenoyl bayl bar --boivbhf jnl gb qb vg. |
| 16 | Nygubhtu gung jnl znl abg or boivbhf ng svefg hayrff lbh'er Qhgpu. |
| 17 | Abj vf orggre guna arire. |
| 18 | Nygubhtu arire vf bsgra orggre guna *evtug* abj. |
| 19 | Vs gur vzcyrzragngvba vf uneq gb rkcynva, vg'f n onq vqrn. |
| 20 | Vs gur vzcyrzragngvba vf rnfl gb rkcynva, vg znl or n tbbq vqrn. |
| 21 | Anzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f qb zber bs gubfr!""" |
Guido van Rossum | 5ff8cb4 | 2002-02-08 20:41:34 +0000 | [diff] [blame] | 22 | |
Fred Drake | 63cd9bf | 2002-02-08 20:13:47 +0000 | [diff] [blame] | 23 | d = {} |
| 24 | for c in (65, 97): |
| 25 | for i in range(26): |
| 26 | d[chr(i+c)] = chr((i+13) % 26 + c) |
Guido van Rossum | 5ff8cb4 | 2002-02-08 20:41:34 +0000 | [diff] [blame] | 27 | |
Fred Drake | 63cd9bf | 2002-02-08 20:13:47 +0000 | [diff] [blame] | 28 | print "".join([d.get(c, c) for c in s]) |