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.
OP solved it, closing
OP solved it, closing
Basically, you are trying to find
n
by adding your current 'step', whether positive or negative.starting at a total of
0
,on step 1 you'll add
1
or add-1
on step 2 you'll add
2
or add-2
on step 3 you'll add
3
or add-3
What ever it takes to reach the value of
n
It's not posted correctly: https://docs.codewars.com/training/troubleshooting#post-discourse
same way you would call it from outside :)
Not an issue with the kata, the "issue" flag is reserved for errors with the kata itself. If you're asking for help, please tag it as a question instead :)
As for your problem, why not call the function :p ?
See if this helps: https://docs.codewars.com/training/troubleshooting#test-attempt