• + 0 comments

    python sol

    import statistics
    
    mean = 20
    sd = 2
    
    x1 = 19.5
    x2_a = 20
    x2_b = 22
    
    nd = statistics.NormalDist(mean, sd)
    
    print(round(nd.cdf(x1), 3))
    print(round(nd.cdf(x2_b)-nd.cdf(x2_a), 3))