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.
Fixed, thank you!
Thanks for the feedback! the test case was missing quotations to identify each pawn move as a string, oops. It has been fixed:
test.assert_equals(pawn_move_tracker([e3, d6, e4, a6]) >>> test.assert_equals(pawn_move_tracker(["e3", "d6", "e4", "a6"])
added the closing parenthesis, thanks!
marking as resolved
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Example cases added in description
Marking issue as resolved.
replaced some code as you suggested
"The number passed to two_count (twoCount) will always be a positive integer greater than or equal to 1."
Description explicitly states 0 doesn't need to be accounted for. Marking as resolved
I didn't make the C# version so I am a bit confused, is there a reason the parameter has to be a long type instead of int?, none of the tests input a numbers that require more than 32 bits. If there is, should I change the input type for the initial solution, final solution, example tests, and actual tests?
Changed that line to read, "The number passed to two_count (twoCount) will always be a positive integer greater than or equal to 1.". Thanks for the suggestion