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.
While testing, I received the following message:
Testing "D Gb B", expecting "Not a chord", 'Minor' should equal 'Not a chord'.
But this is B-minor chord! The order of the steps is simply rearranged here. Who taught you music theory, my friend? )))
Haskell translation
Thank you for your help. But why, when [true] x11 and the XOR operation, do I get the error: “expected false to equal true”? I didn't change the initial data in any way.
...That isn't how multi-input XOR works. it works like this:
If at least one input is true, return true,
EXCEPT if all inputs are true, then return false.
in your case, all the inputs are true, which means that XOR will return false.
Can anyone explain to me why when [true, true, true], XOR = false?
This is literally:
(true XOR true) XOR true = false XOR true = true
Oh. Thanks for the clarification!
If you're talking about JS, then no. It's simply a built-in function that casts your variable to a boolean.
Damn Boolean is a keyword?
So true!
Thanks!
LGTM. Approved
C++ translation (author is inactive).
Это слишком тяжело для 8 кю
Enabled in this fork
не пишите var, это уже не актуально, плохая практика!
Loading more items...