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.
Not only are you trying to be pedantic, but you also don't even seem to understand the rule you're trying to be pedantic about.
That method does accept two parameters, since two is in the range of 0..N. The opposite of accept is reject, and if that function rejected
two parameters, the tests would not pass.
Also, why are you criticizing people for improving the function by not limiting the amount of names a person can have? At least hundreds of millions of people in the world have more than two names.
nice
This is so amazing and so hard to read on the same line at the same time !
for me its not readable at all ! xD
This comment is hidden because it contains spoiler information about the solution
nice
God is in the little details...
the if statement works only if condition is true, so if b was a true it will run and return a True and else otherwise,
and if you're talking about the way he write the code this the shorthand if statement in return statement
This comment is hidden because it contains spoiler information about the solution
this is so concise
did the same, so neat!
This comment is hidden because it contains spoiler information about the solution
No need to be, every solution (unless it's absolute garbage like you YandereDev style developer) is alright tbh
i did something similar to that with a dict and exiting as soon as the value(number of appearance) of a key(letter) is more than 1.
@ben-hatcher, excellent explaination. Now I understand this much better.
Loading more items...