Ad
  • Default User Avatar
  • Default User Avatar

    The problem may be in spare WHITESPACE (" ") in the end of the string

  • Default User Avatar

    maybe u can try 'while p0<p'

  • Custom User Avatar

    One thing to keep in mind is that the directions are asking you to find the number of full years required until the population grows to be greater than or equal to the target population.

  • Default User Avatar

    Shouldn't that be the case. How can more than one wire be connected to a single letter.
    If a wire is connected to say letter 'A', the other end of the wire can connect to any of the other 25 letters viz., 'B' through to 'Z'.

  • Default User Avatar

    I corrected the typo-
    elif len(wires) > 20:

    Thanks!

  • Custom User Avatar

    If a wire is connected to the letter 'A', then no other wires can connect to 'A', the failing test is trying to assign more than one wire to a letter.

    Hope that helps. :)

  • Custom User Avatar

    Take a closer look here:

    elif len(wires > 20):
    
  • Default User Avatar

    A summation/count for the three translation tabs would be nice.

  • Custom User Avatar

    To help me understand more: Where would it display this and how would that help you learn more languages at the same time? Right now you can favorite (and soon collect) any kata that you wish to remember for later - just click the star icon under the title.

  • Custom User Avatar

    A category would be nice. There are some kata which push the limits on what you can do on the max time limit that is available on CW (7 - 11 seconds, depending on the language).

    Something to keep in mind with code performance is that its not constant, in terms of run time. The host machine that is running the code may be doing any number of things that affects how much attention the code is given on each run. Check out big O notation to understand more about how to improve your algorithm complexity.

  • Custom User Avatar

    yes, in your account settings there is that option.

  • Custom User Avatar
    1. When you submit the test results are shown of course but not the tests, which is done because there may be items contained in the full test suite which gives the solution away. Usually the example test cases given (if any) are a subset of the full master tests.

    2. You can click the star icon to favorite the kata, which will allow you to easily come back to it later. Your code should also be saved each time you run tests or submit. Is this not happening? If not then its a bug that should be logged on Github.

  • Custom User Avatar

    Python 3 is available. You can switch you language version next to the language selector. If a particular kata isn't coded in a Python 3 compatible way then the language wont be available.

  • Default User Avatar

    I have two features which I think if added will greatly increase the ease of coding:

    1.) While solving problems, on clicking 'SUBMIT', the data set against which the code is tested should be made visible as this will help in debugging the code in case of problems.

    2.) An option to keep working on a current problem later on where it gives the option to save your code and continue on demand.

  • Loading more items...