Jump to content

Monty Hall problem: Difference between revisions

→‎{{header|PARI/GP}}: hatred and loathing
(GP)
(→‎{{header|PARI/GP}}: hatred and loathing)
Line 1,281:
 
test(1e4)</lang>
 
Output:
<pre>Wins when staying: 3433
Wins when changing: 6567
%1 = [3433, 6567]</pre>
 
=={{header|Perl}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.