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 enjoyed this kata - perhaps too easy for 5kyu but I had to go away and learn about format specifiers so I supposed it served it's purpose!
I enjoyed this kata - perhaps too easy for 5kyu but I had to go away and learn about format specifiers so I supposed it served it's purpose!
You have to write code that will produce the same number as the test case variable, 'lucky_number'.
I will admit that I found this kata pretty confusing at first but once I read that there are several ways to 'cheat' - and that is indeed the purpose of the kata - then it wasn't too bad.
My solution felt very cheeky, to say the least...