Monty Hall problem: Difference between revisions
m
→Basic solution: {{blockquote}}
m (→Basic solution) |
m (→Basic solution: {{blockquote}}) |
||
Line 2,456:
====Basic solution====
This solution is based on the observation: <blockquote>If I initially guessed the winning door and didn't switch, or if I initially guessed a losing door but then switched, I've won.</blockquote>
<lang jq>def rand:
input as $r
|