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.
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.
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
flag = not flag or not c.isalpha() taught me a lot, thanks.
Jesus
thank you for taking your time and sending me that link but I find docs.python.org the most user-unfriendly python source out there, but you made me realize that I should be researching regex in general not just finditer.
So for anyone reading this comment, go watch this video below about regex (import re), because there are many katas regarding this on this website.
https://www.youtube.com/watch?v=K8L6KVGG-7o
No, satisfaction rating is 82%, that is low considering most Katas are over 90%.
I hated this Kata, doesn't teach you anything, waste of time. Hence this angry comment.
of course another solution from you that is impossible to understand, there is not even 1 good explanation on google about how to use finditer
go work for NASA or something, stop bothering us with these solutions that are harder than the problem
What is the notation (x:=w) and why is it in brackets?
I don't understand what I need to lookup? I just don't understand that sentence.
When you assigned is_killer to set(dead).issubset, has is_killer become a set as well? I am asking this because is_killer(L) --> is_killer(['Jacob', 'Bill', 'Lucas']) is a tuple, not a set. It looks like the program is asking whether set(dead) is a subset of is_killer tuple. But it isn't otherwise the program wouldn't run. In that case is_killer must be a set as well. But if it is then what is is_killer(L)?
Thank you.
list1 = [1, 2, 3, 4]
list2 = [1, 2]
print(list1 > list2) --> True
What am I missing?
Loading more items...