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.
Can u add a tl; dr ?
Anyhow I don't have time 2 argue, so will update the Kata when I come on.
Have a good day/night.
I'm sry 2 say I didn't write my solution 4 ur reading pleasure
Oh my, what a clever assumption, how'd u come 2 that conslusion. Regrettably I don't care what u think. I could say the same 2 u as well.
Very well, I'll update when I come back on.
Dude this is not about my knowledge but about time of all who attempt to do this. The meat of the solution is so trivial that this is not worth more than 7 kyu and thus it should be solved in < 3mins. The additional required time are things that you should provide not each coder.
Don't be such a snob because you know parts of SI table and used gravitational force formula recently. I haven't had to use micro units and the formula for years and it seems that I shouldn't bother to know it for the future. Google is enough to help me with those 1 in 10 years cases.
Not all coders here know British units or are old enough for 8th grade school.
Formula which I was thought in school was
F = G*m1*m2/r^2
I have no clue how to get this from that:G = 6.67 x 10-11N.kg–2.m2
gibberish.And by the way: I can't read clearly intention in your solution because it's full of shitty names and logic. However I clearly see that you're typical sciencist with 0 skills for social/group programming.
Have at least some humility to listen and make your kata likeable and to make some step towards acceptable programming skills and working with, in this case, code "clients" and buddies.
.
done, awaiting check
In Python you're passing the references to the same arrays. Copy them(
solution(list(a), solution(b))
orsolution(a[:], b[:])
), or calculate the expected before user's answer:JS is alright now.
EDIT : the comment was removed by author since....
(I don't need to give reasons)
lol, a very good exploit.
Fixed. awaiting check
@FArekkusu thx for solving issue :)
Or get the expected value before.
You should pass copies of arrays, not arrays themselves.
JS
Python
You're modifying the array.
This comment is hidden because it contains spoiler information about the solution
Must be as you say - I copied what I had and reset and was able to move on. Thanks for getting back to me.
I'm getting confused here as well - I don't see a test case you mentioned :) maybe you have edited it yourself in your test suite by accident?
Good chance I am getting confused here, but this test doesn't appear to be correct to me.
"Test.assertEquals(new Fraction(5, 3).add(new Fraction(1, 3)).toString(), '2/3', 'Proper addition was expected');"
I am reading that as 5 thirds (5/3) + 1 third (1/3). To me the answer should be 6 thirds (6/3) OR 2 wholes (2).
Am I getting this wrong?
Loading more items...