Tue May 20 22:05:21 2025 monty_hall_simulation_test(): python version: 3.10.12 numpy version: 1.26.4 monty_hall_simulation() simulates the Monty Hall prize winning game, in which a prize is hidden behind one of several doors. Number of trials = 100000 Doors No-switch winning Switch winning Observed Predicted Observed Predicted n 1/n n-1/n-2 * 1/n 3 0.3328 0.3333 0.6668 0.6667 4 0.2487 0.25 0.3735 0.375 5 0.1998 0.2 0.2654 0.2667 6 0.164 0.1667 0.2073 0.2083 7 0.1409 0.1429 0.1731 0.1714 8 0.1252 0.125 0.1468 0.1458 9 0.1118 0.1111 0.1253 0.127 10 0.09909 0.1 0.1115 0.1125 Tue May 20 22:05:52 2025