>>12842460I know this is either a retard or bait. I wrote this code in two minutes, feel free to simulate montyhall as many times as you like. Upperlimit is the number of simulations
import random
upperlimit = 1000000
correct = 0
for iterations in range(0,upperlimit):
selectdoor = random.randint(1,3)
cardoor = random.randint(1,3)
if(cardoor != selectdoor):
correct+=1
print(correct/upperlimit)