Ad
  • Custom User Avatar

    This is what I get now. I tried to force the encoding to UTF-8 but it doesn't solve anything apparently.

    -e:56: invalid multibyte char (US-ASCII)

    -e:56: invalid multibyte char (US-ASCII)

    -e:56: syntax error, unexpected end-of-input, expecting ')' Test.assert_equals(num_to_strings("1£^%1"),"eleven")

  • Custom User Avatar

    I think you also have a problem of encoding in this test

    Test.assert_equals(num_to_strings("1£^%1"),"eleven")

    This is what I get. You should try to set the encoding to UTF-8 but I have no idea if it's possible here in Codewars.

    invalid multibyte char (US-ASCII)

  • Custom User Avatar

    I think you have a problem in the first test.
    I get this when I try to submit my solution. You forgot to put " after 17.00 in my opinion.

    -e:53: syntax error, unexpected tIDENTIFIER, expecting ')' Test.assert_equals(num_to_strings("17.OO), "seventeen")

  • Custom User Avatar

    What should happen if the input array length is not 3? Raise an error?