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'm sorry about that, I now changed the text to clarify that a string is expected instead of an error object.
Hi, could you append your attempted solution so I can try to figure out what happened? Thank you!
This comment is hidden because it contains spoiler information about the solution
Hi, can you post more information? Like your attempted solution and the language in which the error came up.
Thanks
Oh, of course.
range
is non inclusive, so you were right the first time, my bad.Hey, you are right about the redundancy of checking past
(num+1)/2
(actuallynum/2
is enough, but anyhow).Thank you!
Thanks! It did have a typo, thank you for pointing it out, I fixed it.
All fixed. Marked as resolved.
All languages have example test cases now.
All languages have example test cases now.
I changed it. thank you for the help, I'll mark the issue as resolved.
Hey, I tried that, but I can't get the tests to work. I tried using the Test.expectError but it didn't work. How can I make the tests work?
Hey, you were right, I did have them switched. I fixed it now, so it should be good. Thank you for pointing it out.
Thank you! Really appreciate it.