Professional Documents
Culture Documents
import random
import matplotlib.pyplot as plt
#Monte_Carlo Simulation :
def monte_carlo(n):
for i in range(n):
#Randomly placing the car and goats behind the three doors :
random.shuffle(doors)
#Contestant's choice :
k = random.randrange(2)