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.
Less lines of code = better
duh
completed
I did not tell you that it was better. You asked for a workaround and I gave you one. You can choose whichever option you like. I don't think it matters too much that the name is the same as the builtin, since 1) you can still use the builtin in your solution without any change and 2) this function will only ever be used for this kata, it's not going to be part of a large project where it could indeed confuse readers. If you insist on not using the same name, at least do not use PascalCase for it, as the link above specifically discourages this style for function names.
you can do this:
it's better than using PascalCase for the function's name, as the official Dart style guide discourages this
Python, Ruby and TS do have random tests. Do not use the translation tab as a reference, instead use the kata trainer if you want to check it accurately. Also, there is an issue mentioning the same thing , so closing this one ^^
Rejected, the current Python translation does have random tests. You are looking at a really old fork, start looking from the top which indicates a more recent translation.
why is it an issue ?
Sorry I didn't notice your replies earlier. I'm not sure what's the correct way to do this, but hopefully I'll find some time in near future to figure it out.
If you mean the translation, then, if the rank is fitting, it's probably OK. Otherwise, you shouldn't translate to a language that makes it too easy to solve. Because it is a white kata, it should be fine if you solve it that way.
It may be possible to block using such things (I don't know about Dart specifically), but that's almost never a good idea.
Approved.
are you going to give the same comment on every kata?