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.
Most likely you're trying to iterate over an integer, like so:
`for x, y in sequence:
do stuff`
To fix that, you'd write
`for x, y in enumerate(sequence):
do stuff`
I wrote this program in Python, problem of 'time out' in final submission, pass all tests though, any suggestion? thnaks
Enjoyable Kata, thanx
Hey, I wrote this Kata in Python, through with everything. Result is an appended list of anagram words, not a sorted one. However, I used the method 'sorted(word) and 'sorted(words[i])' to exluded the words that are not anagram. Hope it helps, thanks
Very interesting and enjoyable!
Pass all tests, submits easily on 'attempt' button, thanks
Thanks for the comment, I noticed that most of the test cases I had issues with, actually had the 'Expected' and the 'But was' values turned around. So rather than me thinking it wants the output "0:0:0" that was my actual output with one of the test cases and not "00:00:00".
I wrote this in Python and works perfect. When you reduce secs to mins then to hrs, they firm integers that computer displays single digit when less that 10. So it needs to be converted into string and concatenate '0' (note: it's not an integer). Hope it helps,
All tests pass, displays "00:00:00" format perfectly, thanks
All tests pass, still not accepted on final submission attempt, it shows error "Traceback:
in
in fixture
in find_missing
TypeError: 'int' object has no attribute 'getitem'
Any idea what does that mean? thanks!
Can I please ask that noone takes my solution to this serious? I'm just in rebellious mode and tried to create a really nincely botched solution :D
All tests pass. However got "Expected: 'null', instead got: ''null''" while trying to submit as final. I beleive it's something the syntax not matches with system. And I know this is for the test acase when the time calculated comes negative. Anybody has a clue? thanks,
If JS, rounding can be done by floor() method, In Python it's round() can be used, thanks
All tests pass. However got "Expected: 'null', instead got: ''null''" while trying to submit as final. I beleive it's something the syntax not matches with system. And I know this is for the test acase when the time calculated comes negative. Anybody has a clue? thanks,
I got the same as well in Python, this kata can not be executed within time frame, I guess. Neither the test cases are attarctive or meaningful, thanks
All tests pass, time limit execution fails for the reason "Time: 12303ms Passed: 0 Failed: 0".
The 'Atom' editor shows "Running: python (cwd=undefined pid=733). Exited with code=0 in 0.217 seconds."
Does anybody have the best timing for this kata?
I did not find a way to cut down time at all !!!
Loading more items...