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.
I'm not sure what you mean.
If you mean as an input (test case) then yes, x's side can be negative. Note the last example in the description (
-x = -1
).If you mean as an answer/result then no, it can not. How would you do that anyways? You are suppose to return a number: the solution (value of x). There is no place for the x (the character 'x'), or the x's side (it is the opposite side that matters). Which is also shown in examples from the description. The answer to the last example I mentioned is
1
notx = 1
.What do you mean? if
-x = 1
thenx = -1
. You must return the value of x.must the x's side be positive, EG: -x = 1
or must it be like this: x = -1
please help me thanks bye
i think it defeats the purpose of the kata.
you arent writing a code that does the job, you're just predefining the answers to a situation.