Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6)

Side by Side Diff: Lib/this.py

Issue 17379: Zen amendment
Patch Set: Created 7 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 s = """Gur Mra bs Clguba, ol Gvz Crgref 1 s = """Gur Mra bs Clguba, ol Gvz Crgref
2 2
3 Ornhgvshy vf orggre guna htyl. 3 Ornhgvshy vf orggre guna htyl.
4 Rkcyvpvg vf orggre guna vzcyvpvg. 4 Rkcyvpvg vf orggre guna vzcyvpvg.
5 Fvzcyr vf orggre guna pbzcyrk. 5 Fvzcyr vf orggre guna pbzcyrk.
6 Pbzcyrk vf orggre guna pbzcyvpngrq. 6 Pbzcyrk vf orggre guna pbzcyvpngrq.
7 Syng vf orggre guna arfgrq. 7 Syng vf orggre guna arfgrq.
8 Fcnefr vf orggre guna qrafr. 8 Fcnefr vf orggre guna qrafr.
9 Ernqnovyvgl pbhagf. 9 Ernqnovyvgl pbhagf.
10 Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf. 10 Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf.
11 Nygubhtu cenpgvpnyvgl orngf chevgl. 11 Nygubhtu cenpgvpnyvgl orngf chevgl.
12 Reebef fubhyq arire cnff fvyragyl. 12 Reebef fubhyq arire cnff fvyragyl.
13 Hayrff rkcyvpvgyl fvyraprq. 13 Hayrff rkcyvpvgyl fvyraprq.
14 Va gur snpr bs nzovthvgl, ershfr gur grzcgngvba gb thrff. 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. 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. 16 Nygubhtu gung jnl znl abg or boivbhf ng svefg hayrff lbh'er Qhgpu.
17 Abj vf orggre guna arire. 17 Abj vf orggre guna arire.
18 Nygubhtu arire vf bsgra orggre guna *evtug* abj. 18 Nygubhtu arire vf bsgra orggre guna *evtug* abj.
19 Vs gur vzcyrzragngvba vf uneq gb rkcynva, vg'f n onq vqrn. 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. 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!""" 21 Anzrfcnprf ner bar ubaxvat terng vqrn -- yrg'f qb zber bs gubfr!
22
23 1fg Nzraqzrag
24
25 Pvivyvgl vf orggre guna oneonevfz.
26 Lrf, gung'f qrongnoyr -- ohg bayl ol oneonevnaf!"""
22 27
23 d = {} 28 d = {}
24 for c in (65, 97): 29 for c in (65, 97):
25 for i in range(26): 30 for i in range(26):
26 d[chr(i+c)] = chr((i+13) % 26 + c) 31 d[chr(i+c)] = chr((i+13) % 26 + c)
27 32
28 print("".join([d.get(c, c) for c in s])) 33 print("".join([d.get(c, c) for c in s]))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+