def percent_clear_days(clear_days, total_days):
    """Returns the percentage of clear days, given
    the number total days and clear days.

    Parameters
    ----------
    clear_days : int
        Number of clear days.

    total_days : int
        Number of total days

    Returns
    -------
    percent_clear : float
        Percentage of clear days.

    Example
    -------
        >>> # Calculate percent clear
        >>> percent_clear = percent_clear_days(15, 31)
        >>> # Show percent clear
        >>> percent_clear
        48.39
    """
    # Calculate percent clear
    percent_clear = round(100 * clear_days / total_days, 2)

    # Return result
    return percent_clear