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've just approved it.
Thanks :)
I've just approved it. Thanks.
Oh dear, I had'nt appreciated that there was a convention. Many thanks.
Thank you for your comments. The kata concerns Harshad numbers which are integers divisible by the sum of their digits - so 0 is not Harshad as 0 divided by 0 is undefined. My test solution would return False if testing zero.
However, to clarify the kata I have modified the desciption to consider only the positive integers - so the test case for zero is no longer required.
Hello, On submitting my code, I obtain the response 1234567098 should equal 1234567908 from the online tester. Should it not return 1234567890? Thanks.