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.
8:25 AM
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!
"117 Outdone by a reader!"
2 Comments -
The 116-character version doesn't pass the test suite (no trailing newline), so it is not a valid solution.
6:41 AM
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.
8:25 AM