Ad
  • Default User Avatar

    Do you want that I put in the description the different returns of each languages? I thought the description could be as general as possible - kind of mathematical description - and that it was easy to see in the "Your tests cases" (BTW I see many katas without "Your test cases") the return form for each language. I noted in the description:

    Your task is to return to the function seven(m) (m integer >= 0) an array (or a pair, depending on the language) of numbers

    Isn't it sufficient? I'm not resistent to that but I thought it was not useful to make the description longer and to repeat in it the "Run tests". As for "issues" I don't see where it is described what issues are exactly and I understand that beginners post easily issues because they don't know what to do. Nevertheless thank for your post and I hope you would be kind enough to bring me more precisions and suggestions.

  • Custom User Avatar

    Problems with the description are issues, and the description should match the language.

    I'm not sure why you're so resistent to this; it's already in a code block, so this should be trivial to do.

  • Default User Avatar

    Didn't you see the "Your test cases" in Python?

    Test.assert_equals(seven (1603), (7, 2))
    Test.assert_equals(seven (371), (35, 1))
    Test.assert_equals(seven (483), (42, 1))
    

    The form of the return is depending on the language (Python and Haskell want a tuple).

  • Default User Avatar

    Read the description:

    Your task is to return to the function seven(m) (m integer >= 0) an array (or a pair, depending on the language) of numbers

    You can also see what is needed in "Your examples test cases".

    PS: Issues are for katas that don't work. Everything is not an issue. It can be "Suggestion" or "Question":-)

  • Default User Avatar

    Inclusive.