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 task made me work hard
C translation (author gone)
This comment is hidden because it contains spoiler information about the solution
Running that input against the built-in solution, it returns false. Perhaps you are reading the error message wrong?
This is not a 8 kyu kata. A 8 kyu kata is something like "Hello, World!". Here 7 kyu at least.
It's not 8 kyu task. 7 kyu, not less. I spent more 5 minutes :)
Each "sequence of five consecutive digits" does NOT have to contain consecutive digits, but all in a row
I was a bit confused too...
"gcd" now in "math" module
Why in second test named 1 Calorie input data is 1045 kJ. Then the output should be 249761. Or the input in this test should be 4184 J.
@test.it('1 Calorie')
def kcal():
test.assert_equals(calories("1045 kJ"), 1000)
is the exact words from the desc.
Strange task description. I thought that I should return the answer as a string with a description, but in reality, only an integer sum.