handled
too late, resolved.
2 years later... the test cases are locked, so it cannot be updated anymore... (added it to the example tests, though)
If you want to catch anything and you don't care about what the actual exception was you can use:
except:
I saw it in a few different kata's solutions. I had the same question.. Correct one is to use substraction.
No way in javascript to get something like python's partial(operator.mul, 2) or (2).__pow__?
partial(operator.mul, 2)
(2).__pow__
In javascript for now it's not reverse an array like http://www.codewars.com/kata/array-dot-prototype-dot-reverse/javascript it's return a new reversed array.
JavaScript is the best.
Very nice!
There is a way of course.
Thanks. Not in formulas in wikipedia?
Please add to python version:
test.assert_equals(alphanumeric("hello_world"), False)
to eliminate incorrect solutions with \w regex class.
\w
Shame on me but it cost me a few sheets of paper to get the O(1) version..
No difference but E(1,n) of course..
Yea.. Python version is totally broken..
Loading collection data...
handled
too late, resolved.
2 years later... the test cases are locked, so it cannot be updated anymore... (added it to the example tests, though)
If you want to catch anything and you don't care about what the actual exception was you can use:
I saw it in a few different kata's solutions. I had the same question.. Correct one is to use substraction.
No way in javascript to get something like python's
partial(operator.mul, 2)
or(2).__pow__
?In javascript for now it's not reverse an array like http://www.codewars.com/kata/array-dot-prototype-dot-reverse/javascript it's return a new reversed array.
JavaScript is the best.
Very nice!
There is a way of course.
Thanks. Not in formulas in wikipedia?
Please add to python version:
test.assert_equals(alphanumeric("hello_world"), False)
to eliminate incorrect solutions with
\w
regex class.Shame on me but it cost me a few sheets of paper to get the O(1) version..
No difference but E(1,n) of course..
Yea.. Python version is totally broken..
Loading more items...