You are viewing a single comment's thread. Return to all comments →
import math lambd = float(input()) k = int(input()) poisson_prob = ((lambd ** k) * math.exp(-lambd)) / math.factorial(k) print(round(poisson_prob,3))
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 →