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.
"alr approved some time ago"
Below the code editor there's a
Sample Tests
section. You can see the basic tests there. If you want to find out the inputs of the main tests, you shouldSystem.out.println(argumentVariable)
inside the function to see it.By the way, you solution doesn't work because the input is a string, you can't subtract strings.
Usually you can write to standard output of some kind, the exact way depends on the language. For C# it's
Console.WriteLine
, for Java -System.out.println
,console.log
and similar for JavaScript etc. You can see the program output in the test output window.