def sales_growth_rate(sales_period_1, sales_period_2):
    """Return the sales growth rate for the current period versus the previous period.

    Args:
        sales_period_1 (float): Total company sales for previous the period.
        sales_period_2 (float): Total company sales for the current period.

    Returns:
        Sales growth based on sales in period 2 versus period 1.
    """

    return ((sales_period_2 - sales_period_1) / sales_period_1) * 100