Ad
  • Default User Avatar

    THX!
    That's crazy this copy/paste part has been there for months (I tried it first ages ago). I was suspecting it so I even tried a different browser, but it migrated as well ith my profile lol.
    Sorry I forgot the spoiler tag for the imgur post.

  • Default User Avatar

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

  • Default User Avatar

    There something odd in this Kata (Python).
    There is a solution sort of given in the test themselves
    The tests fail because of a syntax error in the tests themselves.
    When I test my solution on my machine - It can process a 1600 characters string in a fraction of second, but when I attempt the KAta it times out ????

  • Default User Avatar

    THX sorry for this one - bad copy/paste :/

    I have added more tests - including 0, missing in/fract and carrying

  • Default User Avatar

    THX. Please let me know what you mean with 'random' (sorry for the dumb question - my first try here).
    I woudl not think I need to test for the inputs being something else than positive numbers / integer do I ?

  • Default User Avatar

    Didn;t realize that it was only for Python2 - I sepnd soem time working offline on py3 and got a working (on my machine / own tests) solution I wanted to try.
    Got a stupid htlml error:
    Traceback (most recent call last):
    File "main.py", line 23, in
    test.expect(resp == end, 'Got<:LF:>' + htmlize(resp) + '<:LF:>instead of<:LF:>' + htmlize(end))
    File "/runner/frameworks/python/cw-2.py", line 18, in expect
    if passed:
    ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

  • Default User Avatar

    Got a tst case with a ':'.
    The ':' is not provided in the lookup table :(

  • Default User Avatar

    May be interesting in terms of code writing to address the large numbers, but mathematically it is just boringly trivial :(

  • Default User Avatar

    Great kata!
    Any progress on the Ruby front? I started coding my solution without paying attention that Ruby was not in the list :-(

  • Default User Avatar

    "4) You haev to check that the string's length is even"
    odd length string are specified as valid inputs in the instructions!

  • Default User Avatar

    I receive a
    Test Passed: Value == true
    Evaluating a single word with an odd amount of chars - Expected: true, instead got: false

    Which is quite confusing. I added a few test cases with single words with odd number of characters..they all pass all the time.
    The error message is definitively unclear!