def gravitational_force(M, m, r, G = 6.674 * ( 10 ** - 11 ) ) :
    """
        Calculates the gravitational_force when given Mass of object1 = M, Mass of object2 = m, Distance
        between center of masses = r and Gravitational constant = G

        Parameters
        ----------
        M : float
        m : float
        r : float

        Returns
        -------
        float
    """
    return  G * M * m  / r ** 2