Ad
  • Custom User Avatar

    The example is fine.
    With Java, you need to do the following : Add an H, change the J for an E, change the second A for an E and finally add a N.
    That's 4 permutations compared to Python's 5 (Change P for J, change Y for E, change T for A, change H for V, change E for N).

    EDIT : Typoes

  • Custom User Avatar

    It is pre-loaded code for you, so you don't have to type it out and example of using it would be...

    console.log(MORSE_CODE);
    
  • Default User Avatar
  • Default User Avatar

    Error messages on python katas are of the form "wrong response should equal expected".

    So, if the first test error message says 'Ok, Ooooo?Okk, Okkkk?Ok, Ooooo?Okk, Okkkk?Okk, Okkkk?Ook, Ooook!' should equal 'H' it should mean 'Ok, Ooooo?Okk, Okkkk?Ok, Ooooo?Okk, Okkkk?Okk, Okkkk?Ook, Ooook!' was the answer you provided ( instead of H ).

  • Custom User Avatar

    if you post your code below and mark it as a spoiler someone can help you :)