Search This Blog

Python - The average number of bouquets sold by a flower shop is 10 per day - Probability and Statistics -5 - HackerRank HandsOn Fresco Play

 Problem Statement

  • The average number of bouquets sold by a flower shop is 10 per day. What is the probability that exactly 15 bouquets will be sold tomorrow? Use Poisson Distribution

  • Write a function that returns the probability

  • Round off the Probability to 2 decimal places

Function Description


Function Name: poisson()

1. Output:

  • ans: Float: Denoting the probability that exactly 15 bouquets will be sold tomorrow