Monty Hall problem: Difference between revisions

m
→‎{{header|Picat}}: Added {{out}}
m (→‎{{header|Picat}}: Added {{out}})
Line 3,282:
pick(L) = L[random(1,L.len)].</lang>
 
{{out}}
Output:
<pre>rounds = 1000
Switch win ratio 68.80000%
Line 3,302:
Switch win ratio 66.66641%
Stay win ratio 33.33359%</pre>
 
 
=={{header|PicoLisp}}==
495

edits