Anonymous user
Monty Hall problem: Difference between revisions
→{{header|Python}}
(Added zkl) |
|||
Line 2,479:
"Another simpler(my opinion) way to do this is below, also in python 3:"▼
=={{header|Python}}==
<lang python>'''
import random
"1 represents a car"
Line 2,514 ⟶ 2,517:
print("Switch = ",switch)
" Done by Sam Witton 09/04/2014"
</lang>
=={{header|R}}==
|