Ad
  • Custom User Avatar

    It would be helpful to extend the basic tests to better reflect the range of inputs given in the random tests. I coded around spaces/(x ---- and y ----) because this was mentioned in the instructions, but arriving at the random tests I get the result:

    PASS - txt = '7 eyes of rat\n0 tail of owl\n7 tails of rat\n2 ears of snake\n2 ears of snake'

    FAIL - txt = '0 ear of rat\n0 eye of toad\n62 legs of rat\n8 tails of snake\n2 tails of snake'

    And I have no idea where to begin working out why

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution