Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Ornhgvshy vf orggre guna htyl

s = """Gur Mra bs Clguba, ol Gvz Crgref

Ornhgvshy vf orggre guna htyl.
Rkcyvpvg vf orggre guna vzcyvpvg.
Fvzcyr vf orggre guna pbzcyrk.
Pbzcyrk vf orggre guna pbzcyvpngrq.
Syng vf orggre guna arfgrq.
Fcnefr vf orggre guna qrafr.
Ernqnovyvgl pbhagf.
Fcrpvny pnfrf nera'g fcrpvny rabhtu gb oernx gur ehyrf.
Nygubhtu cenpgvpnyvgl orngf chevgl.
Reebef fubhyq arire cnff fvyragyl.
Hayrff rkcyvpvgyl fvyraprq.
Va gur snpr bs nzovthvgl, ershfr gur grzcgngvba gb thrff.
Gurer fubhyq or bar-- naq cersrenoyl bayl bar --boivbhf jnl gb qb vg.
Nygubhtu gung jnl znl abg or boivbhf ng svefg hayrff lbh'er Qhgpu.
Abj vf orggre guna arire.
Nygubhtu arire vf bsgra orggre guna *evtug* abj.
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])
Comment

PREVIOUS NEXT
Code Example
Python :: how to flatten the image dataset 
Python :: Return the indices of the bins 
Python :: restore tf model python ValueError: Unknown loss function:smoothL1 
Python :: two input string sum in django 
Python :: discord.py find channel by id 
Python :: how to print anything in python 
Python :: 2sf python 
Python :: pylatex tab 
Python :: python hangman 
Python :: cannot import name Glib 
Python :: I want only the span of finditer in re python 
Python :: how to get list from comma separated string in python 
Python :: select option from dropdown in selenium python 
Python :: python string match http 
Python :: how to get the number in the tenths place of a integer in python 
Python :: ipython widget display 
Python :: printf("Enter the second number: ") 
Python :: pycav install 
Python :: python indent selection 
Python :: salir programa python 
Python :: get window coordinates selenium 
Python :: python import module with minus in its name 
Python :: relative import package/module __init__.py 
Python :: leer fichero linea por linea python 
Python :: The Model display 
Python :: List Get a Element-2 
Python :: value keys in dictionary are immutable true/false 
Python :: qiskit setup 
Python :: how to loop over all dates in python 
Python :: python does strftime work with date objects 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =