"""
point module
"""
from typing import Any


class Point:
    """ Represent a two-dimensional point

    x - horizontal position
    y - vertical position
    """
    x: float
    y: float

    def __init__(self, x: float, y: float) -> None:
        """ Initialize a new point
        """

    def __eq__(self, other: Any) -> bool:
        """ Return whether self is equivalent to other.

        >>> Point(3, 5) == Point(3.0, 5.0)
        True
        >>> Point(3, 5) == Point(5, 3)
        False
        """

    def __str__(self) -> str:
        """ Return a string representation of self

        >>> print(Point(3, 5))
        (3.0, 5.0)
        """

    def distance_from_origin(self) -> float:
        """ Return the distance from the origin of this point

        >>> Point(3, 4).distance_from_origin()
        5.0
        """


if __name__ == "__main__":
    from doctest import testmod
    testmod()
