Monty Hall problem: Difference between revisions

Content added Content deleted
Line 977: Line 977:
Input()</lang>
Input()</lang>


Output:
Output:<pre>
Trial runs for each option: 10000000
Trial runs for each option: 10000000
Wins when redeciding: 6663398 (66.63% chance)
Wins when redeciding: 6663398 (66.63% chance)
Wins when sticking: 3332060 (33.32% chance)
Wins when sticking: 3332060 (33.32% chance)</pre>


=={{header|Python}}==
=={{header|Python}}==