Ad
  • Default User Avatar

    This is great. No converting the numbers to strings and the overhead that comes with that. Just simple math.

  • Custom User Avatar

    Check empty strings

  • Custom User Avatar

    Nope

  • Custom User Avatar

    RTFM:

    Second argument (optional): space-delimited list of minor words that must always be lowercase except for the first word in the string. The JavaScript/CoffeeScript tests will pass undefined when this argument is unused.

  • Custom User Avatar

    RTFM:

    Second argument (optional): space-delimited list of minor words that must always be lowercase except for the first word in the string. The JavaScript/CoffeeScript tests will pass undefined when this argument is unused.

  • Custom User Avatar

    Not an issue

  • Custom User Avatar

    I just added a basic example test.

  • Custom User Avatar

    RTFM:

    Second argument (optional): space-delimited list of minor words that must always be lowercase except for the first word in the string. The JavaScript/CoffeeScript tests will pass undefined when this argument is unused.

  • Default User Avatar

    I'm having the same issue as one of the comments below when trying to solve this kata in python 3.4. It must be a bug because it's about what is being passed into the function which is not in our control.

    I'm having an error with the console; it's not inside my code:

    Traceback:
    in
    in test
    TypeError: title_case() missing 1 required positional argument: 'minor_words'

  • Default User Avatar

    I am also having the same error. What is passed in as parameters is not in our control - so it must be bug.