[pyar] [OT] Solucion de la taza...

Marcelo Martinovic marcelo.martinovic en gmail.com
Sab Nov 17 21:54:50 ART 2012


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 - join us !!!


Saludos !!!

-- 
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