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 passed all the test cases and got wrong at only a basic test but my code is absoultely fine.
This comment is hidden because it contains spoiler information about the solution
Print the input values.
Yes I know it's "Just because your solution doesn't work in all test cases"... But why 3 should equal 4? If we talk about years it's really illogical. And we can't see the test code.
Check https://docs.codewars.com/training/troubleshooting for some tips.
Just because your solution doesn't work in all test cases. Try to figure out what is going wrong.
hello i have an issue, i got every case right but still it gives me error "3 should equal 4", i don´t understand...
Kotlin:
No sample tests
Actual and expected are swapped
Ah yes I put the result of my code between {}. What a stupid guy I am.
You are returning a string, but a number is expected.
This comment is hidden because it contains spoiler information about the solution
Hi ! Thank a lot ! Now it's good for me.
Hi! If the input number is positive, you just need to 'convert' that number to the same, negative number. For example, if the input number is 5, you must return -5, if the input number is 22, then you must return -22.
Hello, I don't understand what to do...