[pyar] Respuestas Quizz DevFest

fisa fisadev en gmail.com
Mie Oct 13 21:07:08 ART 2010


El día 13 de octubre de 2010 20:58, Gonzalo Larralde
<gonzalolarralde en gmail.com> escribió:
> Hola gente!
>
> Estuvieron viendo la Quizz para anotarse al DevFest?
>
> Les paso las soluciones, la última es tan fea porque se armó una
> especie de CodeGolf con @Reflejo :-)
>
> Se les ocurre como acortarla mas aún? Ahora está en 130 chars.
>
> C: len([i for i in range(1799,5626) if i % 2 == 0 and i % 3 == 0])
> D: len([i for i in range(18093, 35130) if not "9" in str(i) or "4" in str(i)])
> E: len([i for i in map(list,a.split()) if not False in [reduce(lambda
> x,y: x and y!=x and y,i), i[0]!=i[-1], sum(map(int,i))%2==0]])
>
> --
> Slds,
>
> Gonzalo.
> _______________________________________________
> 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/
>

No lo ví, pero el chiste no sería que cada uno trate de hacerlo? jeje...

-- 
fisa  -  Juan Pedro Fisanotti



More information about the pyar mailing list