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.
The special characters and the double space kept me busy longer than excpected...
Thanks for the kata.
Nice kata. This algorithm was one of the tasks from my own "Must Do"-list. I wanted to solve it just for my own satisfaction. Now I could even earn points and honor. Thank you!
I was also suprised by your 3rd test case. But I am ok with your argumentation. Does it matter if it's the first repeating single letter in the string or the last one? In the test case there is only one repeating single letter. so it doesn't really matter... but may be that is sth you should consider when creating more test cases or even randomized tests!
...just realized that the postings are 2 years old...so, no need to read my second paragraph...
Thank you very much!
I like the idea of your kata.
It is a nice game. But I would propose level kyu 6. Or is it just me....well. That's not really the point here.
I have some criticism. I had the alghorithm pretty quick. With the example I could see exactly what you wanted. But, please, you need to write how you expect your results. I've spent so much more time guessing what the output should look like than solving the algorithm. That's a bit frustrating. Especially when you write that you remove the tailed newline but it is still there, isn't it?
I really wanted to go with this sort of black list or uninvited list thing...
well. I took your advice. Hope, that most of the solutions are still working. Sorry again.
Learned a lot, anyway. For me this testing issue was like solving a kata...where are my points and honor... ;)
And besides that. Very friendly user base here.
thanks for your time and patience. again.
in the beginning I got a much bigger list of uninvited characters. It worked fine on my system.
But on cw I got an UnicodeEncodeError for some of the characters (including ´` among others) So I didn't know what to do and popped this bad chars out of the uninvited list.
So the "incoherence" was getting bigger and bigger. I think I should rephrase the task by only uninvite the chars from the given list...but then more solutions get wrong...I guess I screwed up on this one!
And this should be the simplest kata...0-o
My intention was to create a collection of katas. The next one should be a function where I eliminate the problem of "incoherence" by having 2 outputs simultaniously. one where chars are from the list are replaced, and one where only the chars in the list are returned...so there is no positive or negative approach (excluding one set and including the other set...)
aaah...was away from keyboard a while. Another noob mistake... :/
I now wrote sth similar to what I've found in the other kata's test cases.
Hope this is correct.
What's a cw error?
Thanks for your answer. Sorry. Noob mistake. Wasn't sure at all how testing works.
Actually I was lucky to pass the testing...
"Show Kata Test Cases" never seen it before. But very interesting.
I'll have a look at it!
Thanks for your advice!
Thanks for your answer.
By copying I basically meant translation. Now I know what translation means...
Should have read the wiki first before asking stupid questions.
Maybe when I get good enough at coding I'll have a look into translations.
Meanwhile I try to work out the Range Extraction!
Thank you very much for this very interesting Kata!
After 2 days of coding (yes I AM a beginner) I got tons of code lines and I guess a working solution ... but in Python.
I didn't pay attention to the given languages ... o.0
Is it possible to add Python to this Kata?
I'd really like to test my code. And I'd love to see the solutions....probably one-liners again... lol
Just out of curiosity:
What does it take to create my own Kata or rather this Kata in Python? Do I have to write the Test Code?
Is it allowed to "copy" Katas? Or is it bad manners?
Cheers
Gastüv