7 kyu
How much coffee do you need?
674 of 1,560nbeck
Loading description...
Arrays
Regular Expressions
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
python new test framework is required. updated in this fork
Approved
Python: Random tests are vulnerable to input modification
Fixed in OP's fork
My solution works for basic tests but when I do random tests it gives me couple of errors but I have no way of telling what were the inputs so I have a hard time figuring out what's wrong with my code, anyone have some idea what to do in a situation like this?
just print the input at the beginning of your algo:
The Kata could be expanded if there ere not only a difference in cat and CAT. It would be great with cAT and CAt and less words perhaps. Or longer that you can't hardcode the cases.
Nobody's going to make significant changes to a kata after it was approved.
This comment has been hidden.
This comment has been hidden.
I just did a Python translation for you if you are interested ... check it out at: http://www.codewars.com/kumite/57e1de86a396b3f40600027e
Thanks. Accepted.
This comment has been hidden.
Oupss, my fault, Fix this one on all langage.