Ad
  • Custom User Avatar

    Thank you, though, I have to ask the question again; how do I pass the first test if my result is the same as the 'Expected'

    Expected: "h e l l o w o r l d", instead got: "h e l l o w o r l d"
    

    and yet it still fails. Need this be so cryptic?

  • Custom User Avatar

    Hi, thanks for your reply. I put in a space because I had tried it with and without (I did hash it out - I'm yet to refactor), both versions did not pass the first example and yet the second test passes with this code.
    What is also confusing about the description is that it shows the spacified 'hello world' with a space, 'h e l l o w o r l d'. The test example, however, asks for 'h e l l o w o r l d', without a space. Here is the error message I'm getting from the failed first example. Which one is correct?

    Test.assert_equals(spacify("hello world"),"h e l l o  w o r l d")
    

    or

    Expected: "h e l l o w o r l d", instead got: "h e l l o w o r l d"
    

    Unfortunately, I can't identify the difference between these two.

    Very thankful for your help and sorry for calling an issue.

  • Custom User Avatar

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

  • Custom User Avatar

    Well, strictly speaking, shouldn't you have a question mark after this sentence?