python coding contest
Shane Hathaway
shane at hathawaymix.org
Wed Dec 28 04:29:51 EST 2005
I just found a 125 character solution. It's actually faster and more
readable than the 133 character solution (though it's still obscure.)
It depends on Python 2.4. If Python 2.3 compatibility is required for
the contest, I have to add 4 characters.
Shane
[shane at tiger pycontest_01]$ wc -c seven_seg.py
125 seven_seg.py
[shane at tiger pycontest_01]$ python test.py
.
----------------------------------------------------------------------
Ran 1 test in 0.084s
OK
More information about the Python-list
mailing list