this is just running the monty hall problem a bunch of times to show how switching is better even if a lot of people say its a 50 50 chance. this creates an average chance on if switching is better or if they're the same
if you don't know the monty hall problem it's game show in which there are three doors behind one is a car behind the other two there are goats you choose one of them then lets say 1 then the host reveals one door has a goat behind it lets say 3 now he gives you the chance to switch to 2 or keep 1 that is the most important part. which is a better choice