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:

  1. Anonymous6:41 AM

    The 116-character version doesn't pass the test suite (no trailing newline), so it is not a valid solution.

    ReplyDelete
  2. 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.

    ReplyDelete

Spammers: none shall pass.

Note: Only a member of this blog may post a comment.