[pyar] [OT] Solucion de la taza...
Marcelo Martinovic
marcelo.martinovic en gmail.com
Lun Nov 19 17:52:50 ART 2012
El lun 19 nov 2012 17:25:23 ART, Emiliano Dalla Verde Marcozzi escribió:
> Gracias Tordek!,
> pero necesitamos ocupar espacio en la tasa,
> no era tan trivial :-P
>
>
> El 19 de noviembre de 2012 17:22, Tordek <kedrot en gmail.com
> <mailto:kedrot en gmail.com>> escribió:
>
> On 17/11/12 21:54, Marcelo Martinovic wrote:
>
> Buenas....
> Para aquellos curiosos que se pregunten que es el codigo de la
> taza:
>
>
> s = [0x4d, 0x53, 0x41, 0x20, 0x3c]
>
> h = [0x33, 0x20, 0x50, 0x79, 0x74]
>
> e = [0x68, 0x6f, 0x6e, 0x20, 0x2d]
>
> l = [0x20, 0x72, 0x72, 0x68, 0x68]
>
> L = [0x40, 0x6d, 0x73, 0x61, 0x2e]
>
> c = [0x63, 0x6f, 0x6d, 0x2e, 0x61]
>
> o = [0x72, 0x20, 0x2d, 0x20, 0x6a]
>
> d = [0x6f, 0x69, 0x6e, 0x20, 0x75]
>
> E = [0x73, 0x20, 0x21, 0x21, 0x21]
>
>
> msg = ''
>
>
> for li in map(lambda x: [chr(y) for y in x], [s, h, e, l, L,
> c, o, d, E]):
>
> for ch in li:
>
> msg += ch
>
>
> print(msg)
>
>
> # solucion :
>
> # MSA<3 Python - rrhh en msa.com.ar <mailto:rrhh en msa.com.ar> -
> join us !!!
>
>
> Saludos !!!
>
>
> ''.join(''.join(chr(y) for y in x) for x in [s, h, e, l, L, c, o,
> d, E]))
>
> (Perdón, pero mi OCD no me deja usar for cuando se puede acortar.)
>
> --
> Guillermo O. «Tordek» Freschi. Programador, Escritor, Genio Maligno.
> http://tordek.com.ar :: http://twitter.com/tordek
>
> _________________________________________________
> pyar mailing list pyar en python.org.ar <mailto:pyar en python.org.ar>
> http://listas.python.org.ar/__listinfo/pyar
> <http://listas.python.org.ar/listinfo/pyar>
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software
> Libre de Argentina - http://www.usla.org.ar
>
>
>
>
> --
> "Code without tests is broken by design." - Jacob Kaplan-Moss
> Show me the mone ... code!: https://bitbucket.org/edvm
>
>
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de Argentina - http://www.usla.org.ar
Te pasaste en un ) ;)
--
Marcelo Eduardo Martinovic
Python Application Developer
Argentina Ubuntu Comunity
CEL Phone: +54 911 66 64 21 36
e-mail: marcelo.martinovic en gmail.com
Google+: 106978951747415470563
Skype: programacionlinux
Linux User #191067 Debian user #210 The Ubuntu Counter Project - user
number # 33724
More information about the pyar
mailing list