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.
Java: solution is not accepted if it does not print a newline at the end. Specs do not mention that newline is required.
It does not say "print a line".
print
andprintf
work if you add a newline. It's not specified that the newline is required though.if you use print() or printf() in java the test wont pass even though the solution is exactly correct. how hard is it to write a test that works for this kata. if this were martial arts, this kata would consist of a single punch and then youre done.
well damn now i feel dumb XD