• ###### BQJcommented on "String ends with?" python solution

niether is string2

• ###### LogicalXresolved a suggestion on "Robot on a Table" kata

Thanks, for the suggestion, I added two testcases like this :)

• ###### LogicalXresolved an issue on "Robot on a Table" kata

Yep. Sorry, I put in the example kata to check for the below issue and forgot to change it back

Where?

ok changed

• ###### JohanWiltinkresolved an issue on "Reaching a number by *3 or +5" kata

That solves the issue.

• ###### JohanWiltinkcommented on "Reaching a number by *3 or +5" kata

This would work:

``````const anticheat = s => s[0]==='(' && ( s.endsWith(") * 3") || s.endsWith(") + 5") ) ? anticheat(s.slice(1,-5)) : ( s==="1" ) ;
``````

Allowing freeform whitespace would complicate things a bit.

• ###### JohanWiltinkcommented on "Reaching a number by *3 or +5" kata

Hey, seems my unfan is back! All my comments are downvoted again! :]

• ###### WestwardLand968commented on "Reaching a number by *3 or +5" kata

Seems fixed to me. The new test fixture checks that your solution only contains formula characters and also evaluates correctly. I also placed a few edge cases to increase coverage.

• ###### JohanWiltinkcommented on "Reaching a number by *3 or +5" kata

Spoilered answers don't help for people that haven't solved it yet. Also, why would you spoiler that answer?

• ###### WestwardLand968commented on "Reaching a number by *3 or +5" kata

This comment is hidden because it contains spoiler information about the solution

• ###### JohanWiltinkcommented on "Reaching a number by *3 or +5" kata
``````// solution(413)

Expected:
'(((((((((((((((((((((((((((((1) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) + 5) * 3) + 5',