"""Week 3 worksheet problems: starter code."""


def same_abs(num1: float, num2: float) -> bool:
    """Return whether num1 and num2 have the same absolute value.

    >>> same_abs(-3.2, 3.2)
    True
    >>> same_abs(3.0, 3.5)
    False

    """

    pass  # replace with your solution


def is_isosceles_triangle(side1: int, side2: int, side3: int) -> bool:
    """Return whether a triangle with side lengths side1, side2, and side3
    is isosceles.

    Precondition: side1, side2, and side3 are valid side lengths of a
                  triangle.

    >>> is_isosceles_triangle(3, 4, 5)
    False
    >>> is_isosceles_triangle(3, 3, 5)
    True
    >>> is_isosceles_triangle(3, 5, 3)
    True
    """

    pass  # replace with your solution


def is_right_triangle(side1: int, side2: int, hypotenuse: int) -> bool:
    """Return whether a triangle with sides of length side1 and side2, and
    hypotenuse of length hypotenuse is a right triangle.

    Precondition: side1, side2, and side3 are valid side lengths of a
                  triangle.

    >>> is_right_triangle(3, 4, 5)
    True
    >>> is_right_triangle(2, 2, 4)
    False

    """

    pass  # replace with your solution


# Uncomment when ready to run.
# if __name__ == '__main__':
#     import doctest
#     doctest.testmod()
