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.
(Necropost lol) Why was this your knee-jerk reaction to seeing something you didn't understand? The whole purpose of being on these websites is practicing/exploring. This is a perfectly idiomatic solution and doesn't make use of any complicated concept at all.
Trust me, no one is more perfect than yourself, it is largely a matter of practice.
If you're comfortable with programming, then don't give up, grind that diamond like me and most of the people here do. This is what this portal is for, among other things.
Good luck ;)
the <= opertator is used to check if one set is a subset of another. It's not about the size comparison. :)
what you forgot is that this"one" thing is specifically the first group, not something else. So the match occurs only if they are the same in the sentence.
This comment is hidden because it contains spoiler information about the solution
see the fork for a more proper version.
I'd agree with you on this one, if you were saying it's too much convoluted/overcomplicated. ;) (it's almost code golfing)
... x)
search harder: https://docs.python.org/3.8/library/re.html
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Lists are compared lexicographically.
You can't compare lists that way.
This comment is hidden because it contains spoiler information about the solution
The coolest part of this site may be the opportunity to solve a kata and know why it works, then throw yourself at one of these baffling solutions, break it apart, research & understand everything. Each one might have half a dozen useful concepts / practices. Eventually, you can just read 'em!
'already did most of them... x)
But don't be discouraged. Just take this as opportunities. New stuff to learn...