• + 0 comments

    Python 3

    from statistics import NormalDist

    m,s=map(int,input().split())

    x=float(input())

    a,b=map(int,input().split())

    z1=(x-m)/s print(NormalDist().cdf(z1))

    z2=(a-m)/s z3=(b-m)/s print(NormalDist().cdf(z3)-NormalDist().cdf(z2))