This blog deals almost exclusively with my Python coding activities.
Friday, January 06, 2006
117 Outdone by a reader!
Markus Schramm from Germany has left a comment on my post Journey to 117 showing how one could shave yet one more character from the 117 character solution to the PyContest challenge. So, 116 it is!
2 comments:
Anonymous
said...
The 116-character version doesn't pass the test suite (no trailing newline), so it is not a valid solution.
Marius: Thanks for having checked it out; I had just done a quick check by doing seven_seg=.... print seven_seg('0123456789') (which looked ok), and assumed it was right.
2 comments:
The 116-character version doesn't pass the test suite (no trailing newline), so it is not a valid solution.
Marius:
Thanks for having checked it out; I had just done a quick check by doing
seven_seg=....
print seven_seg('0123456789')
(which looked ok), and assumed it was right.
Post a Comment