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.
Bruh too good for no comment! This is art:)
Yes. Nothing to do with coding.
it seems its a math problem
Not a kata issue.
I'm getting error that i don't understand:
None should equal True
And
None should equal False.
also, i have a case where Iām returning False within the code (confirmed entering the loop using a print statement). However, it is stating True
There is no test with both
None
. There is a test with both empty lists tho.All right, I think this is dumb. If A OR b is none, return False, but if they're BOTH none, return True? The instructions don't say that anywhere that I saw.
In Python, for the fifth test, the arrays seem to be empty but it says:
False should equal True
Are they not empty? Are they weird somehow?
edit -- OP removed his original offensive message to make himself look good :/
@kira__ @Chrono79 is giving you good advice; but in any case don't insult or make these kind of remarks to users on the site (and downvoting people who are trying to help you isn't very smart either).
His advice is not irrelevant - if you read the troubleshooting document properly you will find your answer: you are reading the console/error messages incorrectly (a problem that is literally explained in detail on that page)
You are reading the error message above the test when in fact the error message appears below the test it applies to. So, in your case, your code fails for the inputs
[2, 2, 3], [4, 9, 9]
- instead of[2, 2, 3], [4, 4, 9]
, which is the next test after.Your code returns
True
for[2, 2, 3], [4, 9, 9]
but the correct answer isFalse
.š
Read this: https://docs.codewars.com/training/troubleshooting#print-input
Can some explain those?
True should equal False
[2, 2, 3] [4, 4, 9]
Test Passed
None []
False should equal True
[] None
I didn't have to use encode :)
cheating
this is cheating , has to be banned
Loading more items...