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.
The first solution works, and your current solution also works. Closing. Next time post the code following these instructions: https://docs.codewars.com/training/troubleshooting/#post-discourse
Java. I've made exactly the same as the first solution and it returns me some error.... '!=' invalid operator????
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
the length of the array is provided to you by the second parameter, use it. your method for computing the length of an array does not work when they are passed in parameter.
Tell me a solution if I need to return a quantity not true, but false.
Becuase it test case present not bool values. Try this code
sum([True, None])
and you will getTypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
why sum() doesn't work? It seems like should count True as "1"
easy question
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Please read this: https://docs.codewars.com/training/troubleshooting#post-discourse
This comment is hidden because it contains spoiler information about the solution
I'm very happy with the results of this exercise:). I was having a hard time, but it turned out that I just had my return statement in the wrong place. I had it nested where it didn't belong.
Please use appropriate markdown formatting when posting code.
No.
When you're unsure, please use the
Question
label instead of theIssue
label as the latter is for provable kata issues. See https://docs.codewars.com/training/troubleshooting#post-discourse.Loading more items...