• + 0 comments
    import math
    
    mean = 2.5
    k = 5
    
    p = pow(mean, k) * pow(math.e, -mean) / math.factorial(k)
    
    print(round(p, 3))