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.
on Ruby version:
Expected: "1 hour, 1 minute and 2 seconds", instead got: "1 hour, 1 minute and 2 seconds"
Why?
This comment is hidden because it contains spoiler information about the solution
Test.assertEquals(formatDuration(63331200), "2 years and 3 days");
Test.assertEquals(formatDuration(157680001), "5 years and 1 second");
Glad you liked and that it even helped you to refresh my first language <3!
Really liked this one for brushing up on Python! Good job!