This solution for the project is mainly aimed at demonstrating the use of functions for probability calculations. There are mainly two types of functions used:
a. Custom built functions which are necessary to answer specific questions related to the project.
b. General "nested functions’ which only require arguments to be passed for parameters for complex probability calculations anywhere outside of this project.
With above in view:
- The solution notebook contains a library of 15 general nested functions for various probability calculations. These functions can be used anywhere outside this project.
- Four custom functions which use the above functions for answering questions relevant to the problem at hand, i.e. providing logical core for mobile lottery addiction app.
Feedback on methodology and stylistic aspects will be appreciated.