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 has more readability however.
To visualize how codes work, I recommend this tool: https://pythontutor.com/visualize.html#
This comment is hidden because it contains spoiler information about the solution
I use this in my solution too! That's surely something good to know!
This comment is hidden because it contains spoiler information about the solution
I see only two options:
yes: your code is returning None in some case. Keep in mind that the sample tests are just, well... "sample". Meaning that the test suite has many other tests.
Errr... first things first: tell me you're not just printing your result...? ;) Here, you need to actually
return
the output.Can you stop being such an entitled kata author? We already have many such kata authors around before and besides the fact that nobody likes them at all, they're a nuisance to the entire beta process. Please, please, for the sake of god, don't be a dick like one of them.
Nobody owes you an explanation why they voted their way. Are you suggesting policing our votes (and only the negative ones, because every butthurt kata author like you do right here only attenuates on downvotes)? Are we going to, again, force everyone to fill in a "downvote application form" where a 300 word essay describing why making a downvote is justified is needed?
When your kata isn't well received, you should be reflecting on yourself what's wrong instead of blaming everyone for not treating you like a little child. This is like interpersonal skill 101. How hard can it be?
And as far as this kata goes, this kata is not original (there are already hundreds of basic string manipulation katas around), and specs are iffy. Look at your other two katas, isn't a satisfaction rating of
88%
well-received? So learn from them. Make katas like those, and not this.As far as the beta process is concerned, it doesn't give a damn to that. Beta process only concern on getting katas that conform to CW material's criteria pass, which means good quality, not a duplicate, etc. If the feelings of a kata author is hurt, so be it.
Nobody, nobody ever want every single kata pass the beta process just because "some newbie might learn from it". If we have to unleash the hot garbage just because of this reason, you're implying it's okay to feed newbie hot garbage because presumably they can't tell anyway, and it means you're a terrible person.
And typically people who invoke such argument are those who can't even make a kata that's interesting. Which you aren't, so why are you self-deprecating yourself like this?
It also doesn't help when you're being so entitled. Just because you made a kata doesn't mean you're entitled to get it approved. If your kata gets mostly negative feedback, git gud and make better katas? There are certainly katas that gets approved, and this one isn't one of them. I wonder why.
This comment is hidden because it contains spoiler information about the solution
zip(some_list, some_list[1:])
generates pairs:It's as fast as lightning :P
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
More slice examples.
Updated description
Loading more items...