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.
Python new test frameworks are required.
Doing some factoring out:
This result is not consistent with the final equation given to us, which is
N1 * N2 * (N1 ** 2 + N1 * N2 + N2 ** 2) / 2
.The diagram also seems to be wrong.
Since the diagram is wrong, I don't really know what the terms of the kata are, and I'm not sure how to proceed.
Additionally, can you draw multiple lines from any given p0 to p1? That isn't shown in the example diagram, but given the rules as written, it shouldn't be out of bounds.
Lines may begin and end at the same polygon, but may they also begin and end at the same point?
There are no random tests ;-)