Ad
  • Custom User Avatar

    print the output

  • Custom User Avatar

    Well, nothing special, except that the long message tests really check that your code is doing its job. With short tests, one can easily cheat and tweak, optimizing the code for the tests, while in fact the short tests are mostly for checking the basic correctness and corner cases. Long message tests are real tests.

  • Default User Avatar

    After working quite a few hours on this I finally got it down (or so I thought). It passes the first 17 tests but I get a KeyError: '-.....' on the first long message. Is there something special about the long messages that can mess my code up?