Ad
  • Custom User Avatar

    Before that, it already says:

    Return a tuple in Python - (chickens, cows) and an array list - [chickens, cows]/{chickens, cows} in all other languages

  • Default User Avatar

    It would be helpful to provide an actual definition of a 'bouncy number' rather than mere examples. More than one possible definition matches the given examples.

  • Custom User Avatar

    Create 4 variables

    You're not creating the var sandwiches, and that's why that error appears.

  • Default User Avatar

    No matter what I enter, I get NameError 'sandwiches' not defined.

  • Custom User Avatar
  • Default User Avatar

    The grammar in this sentence is awkward, if not incorrect: "Timmy being the top coder he is has allowed some bad code through, you must help Timmy and filter out any injected code!"
    It would be better to say: "Timmy, being the top coder he is, has allowed some bad code through. You must help Timmy and filter out any injected code!"

  • Default User Avatar

    The kata is ambiguous because it is titled "Regex count" but the instruction do not specify that regex should be used. Either the title should be changed or the description should specify that regex should be used.

  • Custom User Avatar

    doesn't matter in ruby or js. ruby uses different kind of thingys.

  • Default User Avatar

    @Chrono79, exactly! anyway, it's a bad practice to use string or str as variable names in python because they are a module and a built-in, respectively. every other language uses line (except ruby which uses str, idk if it matters in ruby), so why not just use line or whatever in all languages?

  • Custom User Avatar

    I guess it's good now, then.

  • Custom User Avatar

    In Python it's called string and both strings and numbers are passed as input, which I find confusing.

  • Custom User Avatar

    Corrected the problem. Waiting for Unnamed or someone else to mark it as resolved.

  • Custom User Avatar

    Corrected the generation of a random-not-palindrome. It is lucky you found this problem since it only shows up randomly.

    In terms of argument being called line, certainly a number can be a line. It is the argument name used in the Javascript version.

    Of course, if you could suggest something better that could be a word, number, phrase, etc?

  • Custom User Avatar

    please see issue above

  • Default User Avatar

    Racket random tests:

    Expected #f, but instead got #t
    1111

    (And why is the argument called line is it can be a number? Is a number a line?)

  • Loading more items...