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.
Could you please let me know where I am going wrong?
For example, for [True,True, True] and False, my answer was False because ,as in the example in the instructions, (p ⊻ q) ⊻ r = True , so the single boolean of “False” is False. Thank you.
Thank you very much for your advice. There was indeed a trailing space.
My code fails in many of the tests but I find it impossible to work out what is wrong.
This is a simple example:
'abaaa baabb' should equal 'abaaa baabb'
How can that be wrong?
Replies to previous questions indicate that, for example, the answer for {0,0,0,0,1,0,0,0} should be 0 because "every group of zeros has to be at least 4 items long" Could you please explain why the first four zeros are not considered to be a group of 4?
The instructions say:
“When inserted, the copied elements overwrite others...”
So how can the following be correct,please? The length of the second list is less than the original
[ 7, 'r', 'y', 's', 'm', 'x', 'f', 1, 5, 5, 'v', 'j', 'i', 'g', 'h', 2, 'g', 1, 0, 4, 'o', 2, 'r'] should equal [7, 'r', 1, 5, 5, 'v', 'j', 'i', 'g', 'h', 2, 'g', 1, 0, 4, 'o', 2, 'r']
Hi,
I fully agree with this. Unbelievably I was criticised for inserting a similar test in a kata I authored.
I'm following the principle discussed here:
https://softwareengineering.stackexchange.com/questions/103471/how-should-i-handle-invalid-user-input
These are not the same. They all convert numbers into English words. My kata identifies place values of digits
Thanks. I'll label the relevant digits
An input is invalid if it is not an integer greater than 0 and less than 1 billion
Thanks. I'll change it
This is because all the returned digits are place values
Thanks for that. I think Thousand is better so will change it.
ok, will do
Would it be suitable as 8ku if I re-published it with the improvements I mentioned?
Loading more items...