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.
same l0l0l0l
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Everytime.
i feel stupid
for me its not readable at all ! xD
This comment is hidden because it contains spoiler information about the solution
This comment has been deleted.
Totally agreed. But I also think that the context (expected range) where this code is used is important.
In a=b cases, the range is basically range object with one value. and sum function looks for values inside the range object (which in this case is just one value), and sums them up.
Please correct me if i'm wrong.
How does this code handle a = b cases? How does this return the value of a or b in such cases.
proper, neat, obvious....
interesting to help me increase my ERP skill
i did the same thing but created a variable for a+b then bin()[2:] that
Loading more items...