def confidence_interval(p, n, alpha=0.05):
    import scipy.stats as stats
    t = stats.norm.ppf((1 - (alpha / 2)))
    ci = (t * math.sqrt(((p * (1 - p)) / n)))
    return ci
def confidence_interval(p, n, alpha=0.05):
    import scipy.stats as stats
    t = stats.norm.ppf((1 - (alpha / 2)))
    ci = (t * math.sqrt(((p * (1 - p)) / n)))
    return ci