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.
honestly i disagree, error checking should be part of any programmer's arsenal, this exactly how security bugs are found. and the lack of such a check has resulted in almost all answers not relating to such a case.
add a negative number check. In other words try the function with -10 or something.