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.
Yes, I was wrong.
Hi g964, thank you for this interesting challenge.
I'm done this task in Xcode in Swift because I learning it now. But want pay attention to your testing examples.
In your example of "coding" result in your coded string there are 2 spaces after "\nk" before "mg" so the assert string will be
"c nhsoI\nltiahi \noentinw\ncng nga\nk{TWO SPACES HERE}mg s\n\voao f \n\v'trtig"
to pass the code() function tests well.
The same issue in Test 5
Test5
✘ Expected: True
But was: False
at AreTheySameTests.Test5 () <0x40826f20 + 0x0009f> in :0
a [ 121 144 19 161 19 144 19 11 1008 ]
b [ 121 14641 20736 36100 25921 361 20736 361 ]
Not found 190
190 * 190 = 36100 that is exists in b
but there are no 190 in a