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.
So, this kata just doesn't apply to the Python language - do I get that correctly? Sorry for the trouble. I am just confused. I kind of see why it wouldn't apply to Python because I didn't translate the kata as it is, but changed a part of it.
Oops, I'll mark this as solved then. :
area_code
: Returns an area code from the number. The area code will be 3 digits.Yeah, sure.
I'm not extremely sure what's wrong here, though. It may be that
expected
andactual
are swapped, or it's just that the kata is broken.Tests are not actually displaying the expected answer.
'1234567890' should equal <bound method Phone.number of <solution.Phone object at 0x7fa358dfd5e0>>
Please fix.
Marking it as solved, already did both.
Marking it as solved because it's no longer in the kata.
Added
Add a dict with corresponding numbers and spelled out words for faster solving.
That was indeed in the kata at first, but I found it as pointless so I removed it. Thanks for your suggestion, I'll make sure I add it when I get home! :)
Is using code really the best way to explain this kata? :V I think it should have a(t least a) short description to explain what's going on.
Added. :)
I'm not entirely sure what's special about that case, but I'll go ahead and add that.
All good! Have a nice day. :) <3
P.S. Let me know if you find any other issues or have any suggestions.
Where'd you get that line from? I've changed them to both the sample tests & all tests.
But yes you are correct, as
$
is no longer a thing, neither are all the random characters.Loading more items...