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.
Tests are broken.
Which point is at the beginning of the list? Why not beginning and finishing list at the simpler and fixed point
(1, 0)
?Does answer go clockwise or counter-clockwise?
Also CW is a coding website, not a math website: give the formula.
At the moment, even maths don't help: drawing circle is very far from unit circle and roots of unity.
Rounding prevents correct float comparision. Two almost equal numbers can be rounded to different values.
Floats must be computed with maximum precision and compared with
test.assert_approx_equals
ormath.isclose
.In python names should be snake_case (like
de_moivre_number
)Okay so
Sadly I think it would be a stretch to get this through beta because it requires some extra maths stuff and so less people will complete it so your rating might not go up enough.
If you want to implement any of the above and don't know how let me know 🙃
Edit: I didn't see the new description - it's much better now but needs a bit of maths about de moivre in it.
no random tests