Python contest: Coding for a Keyboard

Everybody who is passionate in python hacking is invited to participate at the Python Coding Contest. The shortest python class for solving the following problem is wanted.

“Subject of the contest is to code the shortest possible python module that converts decimal numbers to the seven-segment display format.” For more details look at the job description or ask Sol. The contest will be open until Friday. The winner can select between two nice keyboards.