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 comment is hidden because it contains spoiler information about the solution
trash low school mathematics or physics needed, no programming. Find a formula only that you can't know by your own.
trash broken invavid kata
Testing for '84199869583086393_-RZQDc_G_DBUlxQP_Apzk_oLLcpclD.96.ZGBzqOf1K457B5355d36888h24P'
It should work for random inputs too: 'RZQDc_G_DBUlxQP_Apzk_oLLcpclD_.96_' should equal '-RZQDc_G_DBUlxQP_Apzk_oLLcpclD.96'
(damn markdown not shows as it is - '-__filename.extension')
HOW?!
"It should work for random inputs too: 'u.5t8' should equal '-_u.5t8' "
Once i random passed, but not submitted...
And no more luck.
Tried hard to correct to this: "(-|__)?([a-zA-Z][a-zA-Z_-]*.[a-zA-Z-\d]+)?\w?"
until:
Server Execution Error:
Too Many Requests
Request Error:
Request failed with status code 429
Please fix the issue and try again.
Realy?!
It should work for random inputs too: '__qIrHfXYItuGxZAZ-gglMrUOR.5A7' should equal '_qIrHfXYItuGxZAZ-gglMrUOR.5A7'
I'm, sorry, what does this mean?
Testing for '000893452___gghjjX.98W.n7876T4f35089_6RF92855'
It should work for random inputs too: 'gghjjX.98W' should equal '__gghjjX.98W'
Why sometimes '-' and '' and double-' _' alowed at start, and sometimes not?!
Some random tests may sometimes fail your solution. But sometimes almost perfect code will pass the random tests ^^
Yeah, i forgot to operate the 2-nd remark: "if the given string is "" you will return "" ".
It's python.
But the Sample Tests realy shown as broken:
test.assert_equals(stat("01|15|59, 1|47|16, 01|17|20, 1,|32|34 2|17|17"),
"Range: 01|01|18 Average: 01|38|05 Median: 01|32|34")
And when i print(strg.split(", ")) - there printed ["01|15|59", "1|47|16", "01|17|20", "1"(!!), "|32|34"(!!), "2|17|17"]
After all, addind output "" for "" input - make the the bug disapeer ^^
This comment is hidden because it contains spoiler information about the solution
Hah, read this after solved. I have the longest code in Solutions.
God damn task took me all the day.
Well, only 35% of people passed the task on Python.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution