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're welcome. I'll give it a shot another time for sure. Have a nice day!
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.
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.
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?
I dont't quite understand the spaces thing. Could you pls provide some testcases?
This comment is hidden because it contains spoiler information about the solution
Same here with Python.
Passed:4 Errors:1
Traceback:
in
in solution
ValueError: substring not found
But code is valid and working.
str.rstrip seems to be the culprit. Please fix!