Simple is better than complex.

This commit is contained in:
Hye-Shik Chang 2004-02-06 02:52:15 +00:00
parent cd736e71a3
commit d310f13cd2
1 changed files with 1 additions and 6 deletions

View File

@ -20,9 +20,4 @@
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')