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.
Just noticed the spacing didn't keep for the addition part. Anyone know how I make it keep the formatting?
Something is wrong with the python version of the test. My script passes all the hard coded ones, but not the random. When I print the arrays and the shift and compare with the results, it looks like the expected answer is wrong. Here is an example:
[[3, 7], [-2, -5], [0, -1], [3, 2]] 1
[3, 5, -5, 2, 2] should equal [3, 7, -2, -5, 0, -1, 3, 2]
3, 7
-2,-5
0,-1
3, 2
3, 5,-5, 2, 2 <----------- This should be the correct answer, which is what I got, but it says it's wrong.