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.
Is 'producent' a common word in Indian English or something? I understand part of learning SQL is figuring out how other people have designed tables, but this is only a 7kyu.
You can filter for debugging kata
I will also try to play ChatGPT )
No, 7kyu is the correct status. This kata is one of the reasons why ChatGPT is not a good developer.
Not a kata issue.
Okay, so it pays to look at the examples and fully understand them. I thought the survivors of each attack were the difference between the two sides (so like 4 attackers and 2 defenders, attackers scored 2). But it's really asking how many waves were survived. I was reading the numbers as number of soldiers, but I should've been thinking of it as the attack power of 1 soldier.
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?
Thank you. I like debugging ones.
This comment is hidden because it contains spoiler information about the solution
And... solved! Thank you.
I think this should be 7kyu.
If you figure that out, you will pass this kata.
Loading more items...