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.
you too. :)
You're welcome. I'll give it a shot another time for sure. Have a nice day!
too late, the kata is retired.
Well that's still an experience for you, though. Look at what some users did, look at the way others implement the random tests in other katas you solved (you didn't do it the right way, for now) and try again another time (but with something else: for now, it seems to me a regexp kata is a bit too much complex for you. No offense meant, of course. ;) )
EDIT: note that your random tests wont generate any wrong input, so it's almost as if they weren't there, for now... ;)
But maybe your right with the regex thing. ;)
I guess my Kata should be more independent and clear by now.
I changed a lot. Please take a look.
Note: for a first kata, a regexp one is the worst thing you could choose. If you're not confortable enough with what's underlaying, the random tests will be a real PAIN to you, because users with more knowledge could come up with more general regexp than yours and you could get issues over issues because of that, your soluiton giving wrong answers.
no, the problem with this number is rather the number of digits in the middle: according to the other kata (which seems to follow an ISO norm as far as I can remember), this part shouldn't have more than 2 digits, unless it's in first position and then it should be
0dd
.Your absolutely right. This is actually my first Kata and it seems that I still have much to learn. ;)
There should be an ISO phone number standard I can link to instead of the other Kata.
But "+49 37322 123456" is actually valid. It consists of (+)country code + area code without 0 + phone number.
Moreover, since you do not give any informations in the description, one will use the info in the other, and then:
This test is wrong. It should return false according to the other description.
There is a lot of work to do, here... ;)
Hi,
2 problems, here:
I have the same issue like natanaelsirqueira, but I don't know, why I should port my code to legacy python, if it works fine in python3. Could you please provide python3 support for this kata?
You're wrong.
You're looking for something that isn't there in the test that fails.
I added example tests with empty strings.
Loading more items...