5
Monty Hall
ebest (412)

I'm trying to make the Monty Hall problem using python. Random does not seem to be so random. What's the problem?
https://repl.it/@ebest/Monty-hall
Ok, I think this works now. But I got 1 goat and 13 cars once?

You are viewing a single comment. View All
Answered by Scoder12 (321) [earned 5 cycles]
View Answer
1
ebest (412)

@Scoder12 I tried it a few (30) times with changing on, but it gave 20 goats and 10 cars to me. I know the Monty Hall problem should output another result.
Also, I tried it with the code showing the doors, but it seemed randint was biased to the 1st and 3rd doors.