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.
Think about it a little broader... The listed times were an hour and 15 minutes and 59 seconds, 1 hour 47 minutes and16 seconds, etc... These represent a definite time value. One length of time. If you want to do statistics on these times, it isn't going to work to break them into partial times.
Agree, the maths in the answers seem to be off.
I want to ask about at least first example of test-case, for understanding, cause I can't take it. We have the array: "01|15|59, 1|47|16, 01|17|20, 1|32|34, 2|17|17", where the result is: "Range: 01|01|18 Average: 01|38|05 Median: 01|32|34". If we calculate the seconds range and we have maximum digit 59 and minimum digit 16, the seconds range must be equal to 43 (59 - 17), but in answers we have 18. How can we get range 18? Where did we get it from and why it doesn't equal to 43? Same question for minutes range.
If we take minutes average: 15+47+17+32+17=128, then we divide it by 5(as we have 5 numbers here) and get average 25, but according to the tests answer it must be 38, but why?
And I'm not sure about median where I used module 'statistics' and got "1|17|20" but the test is saying that it must be 01|32|34, as we have minute list [15, 17, 17, 32, 47] - median 17, and seconds list [16, 17, 20, 34, 59] - median 20.
Can it be some mess with answers or else? thx
yes!
Did you read the description?
how can one number be ODDER than another? what does that mean - 'odder'?
thanks!
The function's name should be points, not sum_points. Don't rename the function, it won't work.
I have this:
Traceback (most recent call last):
File "/workspace/default/tests.py", line 3, in
from solution import points
ImportError: cannot import name 'points' from 'solution' (/workspace/default/solution.py)
Is it ok?
as I can see from test example, we must get 615087.0 from sum of (668,1294) and I completely don't understand how I can get this sum with these numbers, because it doesn't look like a sum at all. And it would be great|fair to add such example with 3- or 4- digit numbers in instructions
I have found zero info about this producer Herbert Von Klunkerkunt!) who knows more about him?)