Monty Hall problem: Difference between revisions

Line 709:
 
=={{header|F_Sharp|F#}}==
{{output?|F_Sharp}}
I don't bother with having Monty "pick" a door, since you only win if you initially pick a loser in the switch strategy and you only win if you initially pick a winner in the stay strategy so there doesn't seem to be much sense in playing around the background having Monty "pick" doors. Makes it pretty simple to see why it's always good to switch.
<lang fsharp>open System
Anonymous user