Here is an example of Monty Hall problem general solution.
You can try it online:
Note: the Python should ≥ 3.6
The recommended order to understand the code:
- main()
- customize()
- run_the_test()
- do_guess()
- cal_probability()
Here is an example of Monty Hall problem general solution.
You can try it online:
Note: the Python should ≥ 3.6
The recommended order to understand the code: