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.
Already raised as issue
Python 2 is no longer supported.
Wouldn't it be better to accept any iterable like range or tuple?, for me they are good options too
Please note a language when reporting issues. This works fine in Ruby for example.
This was added (maybe by you) to the list of affected kata: https://github.com/Codewars/codewars.com/wiki/List-of-Affected-Kata.
Well, at least I got different error messages as you can see, so I thought there should have been something changed. I tried refreshing but it didn't work.
I just try again, everything works fine now. (more preciously, works well with py2, and well with py3 only after change the
range(...)
tolist(range(...))
) :DFixed just now.
I can't get the
alpha
even runprint alpha
for sample tests.Should be caused by changement of CW..
That line (the one you've copied and pasted) should read
assert_not_eq([3, 1000], random_ints)
. I'm not exactly sure why it hasn't updated for you, because it works for me. Can you try refreshing the page?No, it's not fixed yet.
Now I get this when running sample tests:
Ah yes, sorry about that; it's fixed now.
I know that my code is not complete and may have errors. I just wonder why it can pass the kata with error raised. I thought it should raise errors which tell me what to modify while I got a sudden pass..
Since I've not seen such bizarrerie before and I haven't try to create a kata, I don't know if it can be caused by the system or by the testing code. I just want to remind you to check if there's a bug in the testing code. ;)
Do you see, that you actually have an Error?
IndexError: tuple index out of range
Ii seams you are using a O(n) time complexity algorithm. It will not pass. I dont know why the Test suite is giving you a "You have passed all of the tests! :)" message. It is indeed irritating. Probably its a bug in the suite itself. But it does not changes the relation to your solution, which is not passing. In general: Error messages are bad signs when you submit a Solution.;)
This comment is hidden because it contains spoiler information about the solution
Could you please paste your code here and mark it as a spoiler?
Loading more items...