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.
my bad, i couldn't do it
This comment is hidden because it contains spoiler information about the solution
Right!!
using library takes all the fun and difficulty out of challenges
but does it stop being a function?
since it uses "const" and not "function"
that it
cool, you thought of all kinds of returns, but then you overload your function when it could only do one thing, the only thing it needs to do is turn positive into negative, positive is all those above 0, so
num > 0 return "some way to pass it negative"
, the rest can be returned the number itself, so just put areturn num