[Linuxtrent] python contest

  • From: Emanuele Olivetti <olivetti@xxxxxx>
  • To: LinuxTrent <linuxtrent@xxxxxxxxxxxxx>
  • Date: Wed, 28 Dec 2005 10:21:27 +0100

Per chi ha tempo e desidera una bella tastiera, ecco un piccolo (ma 
significativo)
contest sul python:
http://www.pycontest.net/
Direi che i due giorni rimasti sono piu' che suff. per affrontare il tema:
http://www.pycontest.net/job/
""""
The job

Subject of the contest is to code the shortest possible python module that converts decimal numbers to the seven-segment display format. To support leading zeroes the decimal number is given as a string.

A string containing "23" will result in:

         _  _
         _| _|
        |_  _|

Or more precisely in the string:

" _  _ \n _| _|\n|_  _|\n"

The module has to be named seven_seg and has to define the function seven_seg. The function seven_seg takes a string as parameter and returns a string.
"""


Alla suddetta pagina c'e' gia' il codice di test, giusto serve per
mettersi a scrivere la pura funzioncina da subito.

Ciao,

Emanuele
--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts:

  • » [Linuxtrent] python contest