Ad
  • Custom User Avatar

    Read the rules again:

    • Fit as many words as you can on a single line.
    • Always try to break on spaces.
  • Default User Avatar

    hello is 5 char long not 7, that confuses me

  • Default User Avatar

    For the sample test ("this is a test", 4) , it says that the output should be "this\nis a\ntest" - this is wrong?? Instead should it not be "this\nis\natest"?

  • Custom User Avatar

    hello and world are two words, the limit is per line. "hello world" is 11 chars long, so your function should break it, what's misleading?

  • Default User Avatar

    In the sample tests for python there is this example:
    ("hello world", 7) -> "hello\world"
    Am I wrong or the counting here is misleading?
    Obviously hello doesn't match the 7 limit.
    This confusions sadly deter me from attempting the challenge