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.
Keep practicing! I'm alright at python too but I always use loops to do simple tasks. Keep analysing what the best answers do, and try to figure out what each part does. Then try it out yourself and google anything you don't know. The next thing you know, you're improving!
@ajgrinds:
In summary, you can ignore it. I wrote it as optional info and as something you can use to check yourself if you're going in the right direction.
As mentioned by @RobsonMoon, it's trivia and not a restriction of the challenge; that's the reason why I added it as Optional Extra.
Also, as mentioned, that knowledge could be used to write your own practice tests. Indeed, one of the Kata's tests (not part of the Sample Tests), checks that the sum of combinations of lengths from 4 to 9 adds up to 389112, but that's just something internal.
That's just a bit of interesting trivia, although you could use that knowledge to write your own sample test.
I've rearranged it a couple of times, unfortunately it makes sense to me (obviously), are there any obvious reworks that would make it cleaner.
I've removed the 31st of February unnecessary statement.
I'll be cleaning up some of the assertions in the simpler tests to make them easier to understand (which should cover the code side of the suggestion)
Edit: I've done some rearranging and adding of headers. Hopefully should be a little clearer now?
he's not talking about the code, but about the description (As I said below, the information is spread "all over the place", so it might be useful to rewrite it in a more structured fashion)
In regards to the test assertions, do you have any suggestions to make it more readable?
The issue with changing the assertions is, I could update it to compare each line in the output, but in the case of issues in multiple fields it would not be clear (only the first failure would be rendered). It would also muddy the water as to the output format as it would look like a list more than a string output.
Edit: Have added specific formatting tests, and updated the tests that are expecting a single field to be outputted correctly to only assert that line. The random tests will still use the old
compare everything
assertion.Could you be more specific in regards to which of Blind4Basics issues are coming up for you as well? Each of the issues has been marked as resolved so the same issues should not be possible.
This comment is hidden because it contains spoiler information about the solution