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.
Not a kata issue as 3K ppl were able to submit it. Must be a server-side issue try agn later or change ur browser~~
Exactly! But still trying to find out :(
This comment is hidden because it contains spoiler information about the solution
I dont know conditions can be used both before and after for like this. Cool!
This comment is hidden because it contains spoiler information about the solution
If I don't know the input, I repeat myself, I can nothing.
Thanks for replying but I still dont see any help about the "0" part.
Yes I use Python and saw the numbers of completion in Python but again, 300 people passing all the test cases doesnt mean the tests case are correct.
Appreciate if you can share more direct explaination about why "0" wasnt moved in this case.
Which language? I suppose it is Python from your profile.
You think; good but not enough:-) If I don't know I can nothing.
Moreover it is a question, not an issue.
Note at the top of the page how many guys have passed the Python kata: 379.
Cheers.
I got 2 test cases wrong, 1 of which is:
[23311822363250008, 0, 2] should equal [23113822363250008, 0, 5]
I think the test case is "12313822363250008" and I think both results are wrong because 1 of the "0" should be moved to the beginning createing a much smaller number than both above numbers (maybe 1231382236325008). Any idea?
You can try "is" instead of "==".
Very good kata for review the understanding of 0 vs 0.0 vs False and use of conditional expressions. Thank you!
This comment is hidden because it contains spoiler information about the solution
wow, I almost went a somewhat similar way...