diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2004-02-06 02:52:15 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2004-02-06 02:52:15 (GMT) |
commit | d310f13cd2c321f0cca8429f611546c7888ae561 (patch) | |
tree | 153f89f43e94ebe4d18be1b289008fa1992e8989 /Lib/this.py | |
parent | cd736e71a3d35d870c2ff89b90a39050553a2453 (diff) | |
download | cpython-d310f13cd2c321f0cca8429f611546c7888ae561.zip cpython-d310f13cd2c321f0cca8429f611546c7888ae561.tar.gz cpython-d310f13cd2c321f0cca8429f611546c7888ae561.tar.bz2 |
Simple is better than complex.
Diffstat (limited to 'Lib/this.py')
-rw-r--r-- | Lib/this.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/this.py b/Lib/this.py index 37754b7..29e2960 100644 --- a/Lib/this.py +++ b/Lib/this.py @@ -20,9 +20,4 @@ Vs gur vzcyrzragngvba vf uneq gb rkcynva, vg'f n onq vqrn. Vs gur vzcyrzragngvba vf rnfl gb rkcynva, vg znl or n tbbq vqrn. Anzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f qb zber bs gubfr!""" -d = {} -for c in (65, 97): - for i in range(26): - d[chr(i+c)] = chr((i+13) % 26 + c) - -print "".join([d.get(c, c) for c in s]) +print s.decode('rot_13') |