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.
This problem is amazing. I don't think I'll ever be writing functions the same way again.
There's a different way to define the function that would bring your code well within the limit
First look at the top of the page to see how many guys passed the Python kata...
Also, how do I get different numbers of tests wrong with each attempt given... -> there are random tests
since you are using Python and all the numbers are integers, simpply use Python integer division
For one of the tests, the required output is [18, 20, 0] but the code outputs values 18.333333333333332 19.99999999999993 59.99999999999574, so surely the correct values rounded down to the nearest second would be [18, 19, 59]? If we had to round up that would make sense, but that would mess up a lot of other results too. Also, how do I get different numbers of tests wrong with each attempt given my code doesn't get edited at all between attempts? This is all in python 3.6.0 by the way, any help would be greatly appreciated!
Edit: If I hardcode in the [18, 20, 0] solution, all the tests get passed, so I think this is the only test that may need to be fixed if my issue is valid. I didn't submit the code since that shouldn't be a valid method to pass.