Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The problem may be in spare WHITESPACE (" ") in the end of the string
maybe u can try 'while p0<p'
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.
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'.
I corrected the typo-
elif len(wires) > 20:
Thanks!
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. :)
Take a closer look here:
A summation/count for the three translation tabs would be nice.
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.
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.
yes, in your account settings there is that option.
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.
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.
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.
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...