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.
thanks!
Time for using lower: 1.2828872501850128
Time for using in: 1.0886021964251995
I ran the tests a few times, and it seems using in is more time effective, but the difference is negligible.
is using name[0].lower()=="r" more efficient than using name[0] in "Rr" ?
Your code compares whether
a
is greater or equal tob
in terms of lexicography rather than sizeI have a feature request, after you have completed many kata when looking through your solutions you have to keep scrolling and scrolling waiting for solutions to load. The ability to search through your own solutions on your page would be great. especially if you have a similar kata you are working on and know you have completed a similar one. if you could easily search through your solutions. if would be a great oppurtunity to build appon code you have already writtten or make changes to make it an even better solution. re-useable code is a great practice in programming. just an idea. that goes perfectly here becuae it is a feature for request :)
I was wondering if a subscribed mentor system is possible. I think it would be very beneficial if once a while we could ask a professional to take a look at our recent codes, and let them advice us on how we can optimize our code or give us specific direction on how to improve our coding skill (like doing these katas or looking at this material).
Great, thanks for looking in to it further. I'll keep my eye on github report.
Thanks again!
Hi Andy,
I have added to an already open bug report on Github. You can track it here.
https://github.com/Codewars/codewars.com/issues/617
This is a Codewars issue I hope it gets resolved.
Sorry you are having the issue. I see what you are saying since the Kata appears solved on your profile but your answer does not appear in the Kata. This is a Codewars issue and not something resulting from the Kata code or anyting I can fix. I think I've seen this before on a couple I solved myself as well. I also noticed others have had a similar issue on various Kata and there are bug reports out. I will raise an issue on Github and hopefully Jake can take a look at it.
Hmmm, still no luck. I have just resubmitted my code again and it says it's passed all the tests but it just won't let me look at anyone else's solutions because that screen says I haven't solved it yet. I haven't had this issue with any other katas - I solved about 10 today. This one is in my list of completed kata too so it's definitely odd... Thanks for trying though.
Test Results:
Basic tests
✔ Test Passed: Value == [118.6275, 3.5779]
✔ Test Passed: Value == [215.2265, 68.4014]
Completed in 3ms
Hi Andy... I am not sure what the issue would be. People have been completing it in multiple languages today without any problems. It looks like you were working on it in Ruby. I just restested all languages including Ruby.
My submitted code in Ruby passed the test just fine.
I am having the same problem here.
I have correctly solved the problem, submit my code only to be told I haven't sovled it.
Not sure what's going one here?
This is a Codewars issue not an issue with the Kata.
Thanks this Kata was published before Codewars offered Python 3 and it just made it out of Beta. I have updated using range instead of xrange. This issue should be resolved.
This should be straightforward with python3's standard statistics module, but the grader seems to use xrange which doesn't exist in python3.
Loading more items...