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.
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(...))
) :DI can't get the
alpha
even runprint alpha
for sample tests.Should be caused by changement of CW..
No, it's not fixed yet.
Now I get this when running sample tests:
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. ;)
This comment is hidden because it contains spoiler information about the solution
In the description,
calculate_distance(9) #=> 7.3485
should be 14.6969.
I didn't post the error messages just because I think the problem is not why I get such errors (I know that my code might still have bugs), but why I can pass while getting errors at the same time.
If you think it's useful, here are the output messages:
(py2) Why I just pass the kata while I get error messages?
(using py2.7)
I don't know why I get
when running sample tests while final tests all pass.
This comment is hidden because it contains spoiler information about the solution
Python. (I think I used py2.)
(And I have checked again and again in the dictionary... ;p)
As I'm not good at English, I have a stupid question.... Shouldn't 14 be 'fourteen' instead of 'forteen'?
I think languages and versions allowed can be set. You may just make py2 unusable I think.
It's confusing that the error message tell me nothing about what's going wrong. I can't print anything to try to find out what's wrong. Any code would cause this same error message, even I just submit an empty class, or a class with getattribute. As my code pass the sample tests, I have totally no idea.
However, at last I pass. The problem seems to be.... again, python2 is not supported?
(using py)
May I ask what it means if I pass the sample tests but get
when I try to submit?
Loading more items...