def gross_profit_margin(gross_profit, revenue):
    """Computes gross profit margin.

    Parameters
    ----------
    gross_profit : int or float
        Gross profit
    revenue : int or float
        Revenue (or sales)

    Returns
    -------
    out : int or float
        Gross profit margin
    """
    return gross_profit / revenue