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.
format_duration(3602)
'0 year, 0 day, 1 hours, 0 minute and 2 seconds'
to remove unnecessary zeros:
if int(t): times.append((t,n+'s' if t > 1 else n))
Updated translation to Scala 3
thenk you. I found a new way for casting!
You are very close to the solution. Try to compute the result differently. Then, think: why could it fail?
I rtrid it in C.
The result must be uint64_t and I dont know how to handle the proplem with big big numbers!
should_pass_some_example_tests
(9 of 9 Assertions)
should_pass_tests_with_random_data
rowSumOddNumbers(692475) should return 332056737704671875, actual: 332056737704671872
this is because you've changed the name of the function
in my jypitelab notebook my python script work properly =)
but here i've got :
STDERR:
Traceback (most recent call last):
File "/workspace/default/tests.py", line 2, in
from solution import row_sum_odd_numbers
ImportError: cannot import name 'row_sum_odd_numbers' from 'solution' (/workspace/default/solution.py)