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. :)
I understood this one, except why m[0]?
m = ["aaa-bbb-ccc"]
m[0] = "aaa-bbb-ccc"
but why is m a list to begin with?
I try to pick my battles, I am 90% sure that if I spend 5 hours trying to understand these 2 lines of code I will fail and that will demoralize me. So, I rather not even try and keep my chin up to be able to continue learning at my level.
I have spent approx 4 hours on this, and I am still baffled. Can you tell me what your logic is so I can try to understand the code. Because normally I understand the code and then naturally I understand the logic. But in this case, I just don't understand the code, so I want to go backwards from your logic.
Why do we need the walrus operator? It just makes things more complicated to understand, at least for me. I rather read couple of extra lines of code.
Thank you, I thought about the possibilty of that but did not make sense even though it seemed the only possible explanation.
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
How the hell did you come up with this, I feel dumb among all of you guys.
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)
flag = not flag or not c.isalpha() taught me a lot, thanks.
Jesus
Loading more items...