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.
damn, you really changed it up there
yes
If they wanted us not to use built-in functions:
must've been an error on my part
What is that last line doing there?
This comment is hidden because it contains spoiler information about the solution
Instructions for the problem say "The tests will always use some integral number, so don't worry about that in dynamic typed languages."
Otherwise, yeah it'd be an issue.
This problem was so trivial that I figured they wanted us to not use the built-in functions as an exercise lol
The function can only return one thing; once it gets to a return statement, the function is done being executed.