• ###### BobtheLanterncommented on "Beginner - Lost Without a Map" kata

You can read the docs listed on the left hand side of the site to see how codewars works. Other than that, you just need to get the basics of your programming language down, especially how functions work. You can learn as you go, just be prepared to do research whenever you encounter something that you don't understand or know how to do.

• ###### BobtheLanterncommented on "Beginner - Lost Without a Map" kata

You need to write a function, which you've done, but the function you've written doesn't take any arguments, and you've also changed the name of the function. The way the website works is for each task, there is a battery of tests that will call your function with various inputs and then compare the value that your function returns to the correct answer to see if they're the same. Right now, your function will only double the values in one specific list because you've hardcoded the list into your function instead of accepting a list as an argument to your function. Also, printing anything from your code will not do anything other than display whatever you've printed in the log, printing doesn't interface with the tests in any meaningful way.

• ###### BobtheLanterncommented on "Beginner - Lost Without a Map" kata

Your code does not pass the kata, it's not correct at all

• ###### BobtheLanterncommented on "Calculate BMI" javascript solution

You have to use `Math.pow()`, not `math.pow()`

• ###### BobtheLanternresolved an issue on "Does my number look big in this?" kata

Yes it is. You're raising the digits to the power of 3, you're supposed to raise the digits to the amount of digits in the input number. So, `7` would be `7**1` which is `7` because the number `7` only has one digit.

• ###### BobtheLanterncommented on "Directions Reduction" kata

The problem is not with the section of code that you quoted, the problem is with your `areOpposite` function. You are summing the first letter of each direction to see if they are opposites, but this doesn't really work because two possible direction combinations sum to the same number. Manually check `'N' + 'N'` and `'W' + 'E'`, and you should see what I mean. In this case, anytime your `areOpposite` function is called for `NORTH` and `NORTH`, it will return `true`, which is not what you want.

• ###### BobtheLanternresolved an issue on "To square(root) or not to square(root)" kata

There is no issue with the tests.

• ###### BobtheLanternresolved a suggestion on "Basic Mathematical Operations" kata

Not a suggestion

approved

• ###### Awesome A.D.commented on ""Basics 08: Find next higher number with same Bits (1's)" Python Translation"

Changed the parameter name to `n`, so the random test names now actually make sense.

• ###### BobtheLanterncreated a suggestion for "Basics 08: Find next higher number with same Bits (1's)" kata

Updated the sample tests for python here. This fixes the issue mentioned here

• ###### BobtheLanterncommented on ""Basics 08: Find next higher number with same Bits (1's)" Python Translation"

I fixed the error in the sample tests. The original tests were missing a newline after the function definition.

• ###### BobtheLanterncommented on "Persistent Bugger." kata
``````3 * 9
2 * 7
1 * 4
``````

That's only 3 multiplications

• ###### BobtheLanterncommented on "Convert boolean values to strings 'Yes' or 'No'." kata

Your code is fundamentally flawed. It seems like maybe you should go look up how functions work in python.

``````if True:
#something...
else:
#something else
``````

This `if` condition will always be true. That is, your `else` block will never run, because your `if` statement can never be false.

• ###### BobtheLanterncommented on "Convert boolean values to strings 'Yes' or 'No'." kata

It means your code returned "Yes", but it should have returned "No"