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.
Good work, thanks for your post!
Hey mate, I totally enjoyed solving this problem and I learned how to log messages as well. Thanks
With
System.out.println
but you will have to learn how to ouput strings and numbers.Yes, Java.
test10(PlayPassTest)
✘ expected:<[I LoVe yOu]!!!> but was:<[J MpWf zPv]!!!>
I would still appreciate if you could tell me how I could log messages to output/console...
Java ? Can you post what is expected and what you generated?
well, trying to output the input is giving errors.
System.out.println(s+" : "+n);
I am assuming there must be a better way to output the input here? Still trying to figure out how to work in codewars portal.
You should have thought to print the input:-)
When I submit my program, I get 14 tests pass and 1 test fail. I only see what was expected and what was generated. But I don't see what the input was for that unit test. So without knowing why the test is failing, how will I be able to know what's wrong with the code? With 14 tests passing and just 1 failing and no way of knowing why, it's quite frustrating....