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.
This comment is hidden because it contains spoiler information about the solution
i finally got and then figured out 2 ways to solve it shortly after this. was a matter of one small miscalculation.
This was fun. started out using regex but soon found out I didnt need it. I had to re-code it 3 times because I kept forgetting to group
Letters and numbers. The solutions always make me feel inadequate because i use more code but Im happy with this either way.
This one is confusing. Instructions say u0 but to get rhe grid ad expectedd tou have to go down
maybe it passed that one and timed out further in.
['Tom Marvolo Riddle', 'I am Lord Voldemort', 'Harry Potter'] Really?
This looks like it could be fun, but the description is horrible.
Did it twice. Lookup table was faster and cleaner. Gonna keep working at it and see if i can get the code even smaller without any imports at all.
I think this is my problem:
"Matches should be case-insensitive, and the words in the result should be lowercased."
So does this mean as long as its the same word, matching string, it doesnt matter if its Aaa or aaA it still matches?
and The only thing that can be returned are nmatches thatwere lowercase all around, or you have to change the matche to
lowercase?
I think this is whats giving me problems cause i only seem to be having problems on the random tests with a shit load of caps.
That was the easiest 5 Ive seen.
very interesting challenge. Thank you.
"Once one knows the language" Thats the entire reason why i do these. First I solve them just making it work (Python), and then i look at the solutions of the pros and feel like an idiot, but it gives me real world exapmles of how to actually use the conventions of the language versus trying to do everything the way id have done it in another language. And I dont have to try and create code for a useless program and not have any idea if I could have done it more efficiently. Idk if that makes sense.
This was a challenge for me. I am so glad I got this one. I may have done it totally wrong as one should use Python (I have less than 3 weeks time learning python and i am constantly researching as i try to solve the Katas) But by God, I got it!! When I look at the pros solutions it makes me question my reaon or living... lol But hopefully as i learn the way to use Python as intended, my solutions will adhere to more pythonic code.
Are you copy\pasting the expected solution under what your results were in another editor so you can compare char by char? I thought
The same until I did this and it can be something as trivial as a " ".
Did you figure it out? Its kind of hard to get clarification on a lot of these kata. I guess it makes it more challenging. Probably a case of if its coded right it doesnt matter. I have noticed that when ive had problems on others, it all seems clear as day once i do solve it. But some if these descriptions, and rest results being clearer can be the difference in a lot of useless frustration
Loading more items...