Monty Hall problem: Difference between revisions

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