Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
In java, and only in the random tests.
(I thought I already fixed that... :s )
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?
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
Heyo, in the random tests, some lines have trailing spaces in their solution. (i.e. a line in solution will look like "lSHG[(space)]") I don't believe this is intended as there are no regular tests for this feature, and when changing my solution to account for these "trailing spaces" the regular tests fail.
Amazing
Really appreciated the explaination. Did the Kata for a couple hours, figured out my pattern didn't account for zeros and thought for another hour on how to do it before giving in. Thank you
@Blind4Basics Thanks bro!
your problems comes from that part:
u=[1]
. You felt into pyhton's mutable default argument trap. if you test 2 calls to your function locally, you'll see it doesn't output the correct numbers anymore the second time."My solution doesn't work for some reason" is not an issue.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution