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.
Ok thanks, done.
There were already a couple of random tests that produced inputs with mixed digits/letters format, I've increased the number of them
Thank you for your support and your suggestion, it really means a lot to me.
I have preloaded the regions and updated the description, and added more specific error messages to the fixed tests with the reason for failure, hopefully they are satisfactory.
Thanks again.
fixed
Good catch, thank you
Wow, good catch! I have updated them, thank you. Hopefully this is now resolved.
Ok changed, let's see if it helps. In my code I've always used double quotes but I see it's displaying single quotes in the output, would it be better if I changed to single quotes?
I don't understand why this is happening, it works fine when I run it! Any ideas? (PS thanks for your continued feedback!)
I think I have fixed this... it works fine when I run it, please let me know if it is still presenting problems for other users
Have updated the random tests to include much greater possibility of generating valid strings
Changed so all returned data types should be strings
Thanks, I have updated the wording to hopefully make it clearer, let me know if you think it still needs refining
Thanks, I have updated the wording to hopefully make it clearer
Sorry if this is a silly question, but why does the first ticket in System B = ticket * perc, rather than just ticket (with no discount)?
It didn't cause me too many problems because I saw what your worked example was doing, but at first reading the description (the percentage is applied to 'the price he paid for the previous one') logically meant to me that the first ticket is not discounted.
Perhaps worth clarifiying in the description that even the first ticket is discounted.
Aside from this comment, it was an enjoyable and useful learning experience, thanks :)
Can't wait to hit submit and see how someone much smarter than me has solved this in 1 line compared to my reams of code...