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.
It's not best practice to use lst.pop(idx) where idx comes from another related(mapping) list,
it may break the relationship.
Although it is OK here..
Beautiful? Good luck with maintenance of this.
Well observed. That's my bad - I've forked a modified and updated solution to the original solution which now fits all possible cases.
I'm looking at the solution by @AcesOfGlory.
The function will always return Ture, if the first coord is an interger larger than 90.
You could try coord = '2342, 34.324236'.
Shall we add a test to catch the bug like this?
www.google.this_is_what_you_get.com
beautiful!!
I would just change it a little bit to fit for more types of test(such as, stripUrlParams('www.codewars.com?aa8=1&b6=2&a=2',['b6']) )
change:
queries_obj = [query[0] for query in queries]
to:
queries_obj = [query.split('=')[0] for query in queries]
me too, still trying,
maybe I have to give up the points due to the trick....
Similar problem, in my case, for python version.
Please change predefined function name sortedInsert() to sorted_insert().
Extra guess work is waste of time.
Maybe it has been suggested before, but what about a tournament-mode? Make users able to organize tournaments with private invitations. For example, users start with 0 points and a time limit, let's say 2 hours. Provide the ability to add a set of Katas which the users will have to solve during these 2 hours. The one who solves the most Katas during the period, wins! Would be great for group-seminars, workshops, etc.
(If there already exists possibilities for this, please inform me! :-))
Got it!! Thanks!
You can output the given input to the console. All you have to do is print the parameter and therefore you can see where you went wrong.
Is there any way to check which test exactly I failed to pass? When I'm running test suite, it only tells my code fails to pass one test, and 'xxx should equal xxx'. I have no clue where I got stuck.