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
Can anyone explain me this task. I'm kinda lost in it!!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It's not posted correctly: https://docs.codewars.com/training/troubleshooting#post-discourse
This comment is hidden because it contains spoiler information about the solution
same way you would call it from outside :)
The test of my code got success but not in the full test suite??
Can anyone explain me why this is happening.
Also I am using every to complete the task.
how to call a function inside a function?
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 ?
Can anyone explain me how we can access values from nested function.
This comment is hidden because it contains spoiler information about the solution
Great!!!
Now i'am getting a bunch of errors :(
Loading more items...