On Fri, Oct 4, 2013 at 4:50 PM, Nicola Larosa <n...@teknico.net> wrote:

> > enrico franchi wrote:
> >> .QANU !nhd bybppR .reozrggrf baergr'y ...vf ,vF
> >>
> >> .gfvy tavyvnz nah
> >> nabvmahs rzbp revcnp n *vfrz* renqan berooreibq vp abA
> >> .ngybi nah vq voohva v 'hvc baans aba ...beri bvecbec ,uN
>
> Marco Beri wrote:
> > .decode('rot13')[::-1]
>
> >>> from codecs import decode
> >>> decode('beri', 'rot_13')[::-1]
> 'vero'
> >>> decode('vero', 'rot_13')[::-1]
> 'beri'
>
> 8-o
>

L'avevo notato pure io il "beri" :-)

>>> 'tec'.decode('rot_13')[::-1]
u'prg'
>>> 'prg'.decode('rot_13')[::-1]
u'tec'

Tecnico, hai mai usato Clipper? :-)

Ciao.
Marco.


-- 
http://beri.it/ - Un blog
http://beri.it/i-miei-libri/ - Qualche libro
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a