Ad
  • Custom User Avatar

    In java, and only in the random tests.

  • Custom User Avatar
    • in what language?
    • with "test" or "attempt"?

    (I thought I already fixed that... :s )

  • 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?

  • Custom 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

  • Custom User Avatar

    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.

  • Custom User Avatar
  • Custom User Avatar

    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

  • Custom User Avatar

    @Blind4Basics Thanks bro!

  • Custom User Avatar

    def dbl_linear(n,y=0,z=0,u=[1]):

    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.

  • Custom User Avatar

    "My solution doesn't work for some reason" is not an issue.

  • Custom User Avatar

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

  • Custom User Avatar

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