sample.helpers.helpers

Functions

type_triangle(side_one, side_two, side_three)

Return the type of triangle.

validate_triangle(side_one, side_two, side_three)

Validate if a triangle is valid.

sample.helpers.helpers.type_triangle(side_one: int, side_two: int, side_three: int) str[source]

Return the type of triangle.

sample.helpers.helpers.validate_triangle(side_one: int, side_two: int, side_three: int) bool[source]

Validate if a triangle is valid.