You are viewing a single comment's thread. Return to all comments →
meanX = float(input()) value = int(input())
p = ((meanX**value)math.e*(-meanX))/factorial(value)
print("{:.3f}".format(p))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Poisson Distribution I
You are viewing a single comment's thread. Return to all comments →
meanX = float(input()) value = int(input())
p = ((meanX**value)math.e*(-meanX))/factorial(value)
print("{:.3f}".format(p))