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.
This comment is hidden because it contains spoiler information about the solution
From the description: "If a user ranked -8 completes an activity ranked -4 they will receive 160 progress, resulting in the user being upgraded to rank -7 and having earned 60 progress towards their next rank"
This comment is hidden because it contains spoiler information about the solution
I thought like you at first. But now I think, true is fine. Because you would use such a function to check for Parentheses errors in strings, not whether Parentheses exist at all. Thus an empty string has no wrong parenthesis -> valid string -> true. The same applies for non-empty strings without parenthesis.
Interesting to see the standard approach done within 1 line. But seriously, who voted "Best Practices"? nested ? operator is a horror for every reader.
true, the top 2 solutions at the moment would fail
This comment is hidden because it contains spoiler information about the solution
Sources for more Katas:
Yeah, GetColor() has to be added to the description or remove GetColor() from the tests (C#).
You may edit the description to fit to the selected language. I was confused by the ' ' in the examples because I thought that means the tower should have walls consisting of '
You can use the markdown language for it:
https://www.codewars.com/docs/kata-creator
example for c# + python:
```csharp
```
```python
```
I think because he used .net framework where you need a special syntax to use replace with string delimiter. He probably didnt know it.