Ad
  • Custom User Avatar
  • Default User Avatar

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

  • Default User Avatar

    No need to test for '> 13' in your first 'elif' since your first 'if' guarantees that you won't go any further if 'age' is <= 13. Similarly for > 17.

  • Default User Avatar

    What does "kumited" mean, please?

  • Default User Avatar

    What is the method .toLowerCase(), did you create that on your own somewhere? I tried using .lower() on another kata and it didn't recognize the method (I thought it was a built in method for strings?) Any assistance is appreciated.

    Edit: nevermind, saw the other kata was using python3. Still wondering what toLowerCase() is, though.

  • Default User Avatar

    Tried cutting and pasting but format didn't translate.

  • Default User Avatar

    Second kata so far, thanks for posting. My code seems to work except for a very strange flaw. The first line printed is indented by one space, even if the very first line of the function is "print 'blah'". So the first test fails even though the arrow is constructed and printed properly. Any idea what might be going on? I saw this in my other kata but it didn't effect the test cases for some reason.