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.
Haskell translation
Interesting kata that shows that the round function in Python behaves differently from what we've learned in high school (and different from the implementation in Excel). Would be nice if the test cases would also cover negative numbers.
please come back to close your issue / question when you found your mistake
i am sorry, i am just dumb. Frogot the "="
on last one with 0.75 i got this as a problem, does not seem like problem with my code. But i might be wrong thou:
"bad operand type for abs(): 'NoneType'"
approved
Python fork
Random tests in all languages should prevent solutions like this one in Python.
upgrading to
issue
approved
This comment is hidden because it contains spoiler information about the solution
both were approved, but it seems that the Ruby translation was deleted from the editor at some point
Python should use
describe()
/it()
decorators, approximate equality, explicitimport
oftest
andsolution
C Translation (author inactive).
Lua translation!
Loading more items...