Open
Description
Dear Dr Beg,
Some assertions made about the angles()
method of the Triangle
class in lecture 5 are possibly wrong, because they don't agree with the specification for the method.
add a method to the
Triangle
class calledangles()
. It should return a tuple of three floats, each representing the interior angle in radians of the vertices of the triangle, ordered so that the first angle is at the first vertex of the triangle, and so on.
However, in the assertions, it appears that the angles of the first and second vertices are accidentally swapped.
I appreciate your time into this issue in advance.
Yours truly,
esemsc-df329480 (Guanyuming He)