-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem about chapter04/car_rental.py #150
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
as show above,
you define a variable
POISSON_UPPER_BOUND = 11
,and you have a comment , # If n is greater than this value, then the probability of getting n is truncated to 0
then the loop, just consider 0 to 10, not 0 to 20,
In fact, we should execute 0-20, but because of probability issues, we only execute 0-10, right?
I just want to confirm that my concept is correct, thank you for your guidance
The text was updated successfully, but these errors were encountered: