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.
It might be easier to read when you have pages of code with many different functions.
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.
When people this smart exist, why do I even try lol
This is pedantic but the description does say:
Although the test cases doesn't test for the amount of parameters, this solution would technically be incorrect as it accepts 0 to N parameters.
In short( Extremly short) the [:size] is slicing it until the number you put there so if it's 6, the output is up to index 6 but not included (remember the index in python starts at 0)
so it '10' * 6 and it omitts the 6th index.
Nice
i wanted to try something like this but couldn't. Thanks for the help
Can anyone please explain me how the [:size] works?
I did it but making it way more complex
smart!!
i didn't knoq you could mutiply a number by a string !
one line fantastic
Oh, sorry about that. Of course.
Please use spoiler flag next time.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Love it.
do you really find this easier to read? serious question btw
Loading more items...