Ad
  • Default User Avatar

    Yeah!It's now work.

  • Default User Avatar

    Thanks!

  • Custom User Avatar

    In all three languages an empty string is to be returned if the empty string is the input itself, as it containes no character other than [A-Za-z ]; fixed the description to make it more clear :)

  • Custom User Avatar

    Thanks for the feed, sayfidz; actually Ruby's test code was not right; now it works fine and the description should be not ambigous anymore :)

  • Custom User Avatar

    Fixed, thanks!

  • Custom User Avatar

    You must return, not print values :)

  • Custom User Avatar

    I agree on the first part, but as a tranlator I felt obliged to respect the original author's will to keep it a tad easier and thus return a string instead of an error. No big deal anyway, if you ask me.

    Imho handling extra spaces was not an issue, but I edited the code a bit so that now the random strings are generated without leading or trailing spaces.

    Thanks for your feed :)

  • Custom User Avatar

    It worked like a charm to me: maybe the servers were down for a moment?

    Try again and let me know :)

  • Custom User Avatar

    Sorry for the mishap, I have improved the description and added an example: if the string contains any character which is NOT alphabetic (in the above example there is a 0), then you return "Not letters" :)

  • Custom User Avatar

    I struggle a bit with my python solution, all of the standard tests are passed but i always get an error on the random tests.

    Testing for 'UgUSkt0KiVOSezr'
    It should work for random inputs too: 'U' should equal 'Not letters'

    'U' is the right answer here, isn't it?

  • Default User Avatar

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