You are viewing a single comment's thread. Return to all comments →
Python Code :
from math import factorial, exp miu = float(input()) x = int(input()) poisson_prob = ((miu ** x) * exp(-miu)) / factorial(x) print("%.3f" %poisson_prob)
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 →
Python Code :