een hoop verschillende oplossingen zijn hier te vinden: http://gumuz.looze.net/wordpress/index.php/archives/2005/12/28/pycontest-seven-segment-display/#comments
laters, Guyon Morée http;//gumuz.looze.net/ Op 27-12-05 heeft Ivo van der Wijk<[EMAIL PROTECTED]> het volgende geschreven: > On 12/27/05, Chris Niekel <[EMAIL PROTECTED]> wrote: > > On Tue, Dec 27, 2005 at 08:29:26PM +0100, Guyon Mor?e wrote: > > > Ik zag net http://www.pycontest.net/ : > > > > > > Subject of the contest is to code the shortest possible python module > > > that converts decimal numbers to the seven-segment display format. > > > > > > Het kortste (en lelijkste) waar ik op kom is: > > > > > > [snip] > > > > > > en jullie? > > > > Eerst maar es zien of ik win! (Niet dus, gezien de lagere getallen in > > comp.lang.python). Na afloop van de wedstrijd wil ik wel code delen. :) > > > > Ik zit op 133 bytes voor de hele (werkende) module, geen cheat. Voor > zover ik in clp kan zien maak ik best wel een kans. > > Ivo > > -- > Drs. I.R. van der Wijk / m3r Consultancy B.V. > Linux/Python/Zope/Plone and Open Source solutions > PO-box 51091, 1007 EB Amsterdam, The Netherlands > Email: ivo <at> m3r.nl > _______________________________________________ > Python-nl mailing list > Python-nl@python.org > http://mail.python.org/mailman/listinfo/python-nl > -- Guyon Morée [EMAIL PROTECTED] http://gumuz.looze.net _______________________________________________ Python-nl mailing list Python-nl@python.org http://mail.python.org/mailman/listinfo/python-nl