Hi there!

I’ve just finished this assignment and starting to check my code with the solution. And have some questions.

- Seems like here is a typo in solution code of Task 5:

Create a variable called`year_defects`

that has 365 random values from the Poisson distribution.

```
### Task Group 2 ###
## Task 5:
year_defects = stats.poisson.rvs(lam, size = 356)
```

- Task 11. Calculate and print the probability of observing that maximum value or more from the Poisson(7) distribution

Why in the solution here is no subtract 1 from `stats.poisson.cdf(year_defects.max()`

while in hint and in theory before there were explanation that if we want to find ‘value or more’ we should to include the maximum value in our probability?

```
## Task 11:
1 - stats.poisson.cdf(year_defects.max(), lam)
```

- What is the difference between use
`year_defects.mean()`

and`np.mean(year_defects)`

? And also all other functions like`year_defects.max()`

vs.`max(year_defects)`

?

Thank you!