kyu_8.third_angle_of_triangle package

Submodules

kyu_8.third_angle_of_triangle.test_third_angle_of_triangle module

class kyu_8.third_angle_of_triangle.test_third_angle_of_triangle.OtherAngleTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

Testing other_angle

test_other_angle()[source]

You are given two angles (in degrees) of a triangle. Find the 3rd. :return:

kyu_8.third_angle_of_triangle.third_angle_of_triangle module

kyu_8.third_angle_of_triangle.third_angle_of_triangle.other_angle(a: int, b: int) → int[source]

You are given two angles (in degrees) of a triangle.

Write a function to return the 3rd.

Note: only positive integers will be tested. :param a: :param b: :return:

Module contents