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.
I really like this Kata. Excellent job.
Did you find a solution? I have the same problem...
I enjoyed this Kata a lot.
Test cases are indeed not sufficient in Python
I have exactly the same problem. Any ideas...
Mmmh, something seems te be wrong. I finished this Kata. The cases no decks, small decks, medium decks, large decks are all passed. The program fails to pass the random decks. It returns a keyerror. I did some debugging and everything seems to work just fine. Any ideas how to solve this problem?
I have exactly the same problem. Did you find a solution?
Update: This Kata is correct. I started changing the original input arr. When I created a new arr to incorporate the shifts my answers were correct.
Thank you for this Kata
thank you for the information. It was vital to solve this Kata
Just found out that python rounds 38.5 to 38. http://stackoverflow.com/questions/10825926/python-3-x-rounding-behavior
I added this 0.0000001 to make sure the number is rounded up.
paddling the test cases like a boss!
I had exactly the same problem. Thxs for the suggestion it helped me solve this kata.
Your comment really helped me to save this Kata. I was convinced my code worked, but you pointed out the subtle difference.
This comment is hidden because it contains spoiler information about the solution
I had exactly the same problem for one of the submission tests. My solution was to use the first argument and discard all the additional arguments that were given:
def pair_zeros(*arr):
arr = arr[0]
Is there someone that can share a link that explains how to return an error in Python...
I tried many different things, but it will not accept my code.
Loading more items...