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 behavior of the code in case of exceptions is completely not described. The task is a puzzle. And a waste of time.
The one from w3schools is for MySQL, you use PostgreSQL here. Look at PostgreSQL docs and you'll find it there.
As a solution of this kata? Because truncating and rounding are two different things. If you mean in your code, the error message says this:
So you could try using some casting, but it won't work. You better try another function.
I can't understand why the ROUND function doesn't work? :(
The task is simple, but the logic of the code is hidden in an extremely unsuccessful presentation of special rules.
Thanks.
It can't be removed, but you also do not need to remove it. Just leave it as it is, it does not hurt anything.
How can I remove an incorrect solution made due to imperfections in random tests?
Hmmm... Thanks.
You used
.strip
, there's "str" there.I solved the problem according to all the conditions. What does this inscription mean: Imagine using str in your solution: 'str' should equal False? All tests have been passed. And I didn't use STR!
I don't understand what could be the matter. Some random tests fail. Easy code... Python.
let me know if you need help to investigate it
Edit: python tests are ok, looks like your solution is bad:
You return empty spaces, this is the problem, and the empty space disappears when you sort your result
please, could you create the issue and leave your solution there? it must be rare case because 2000+ solutions were ok
Loading more items...