I am trying to simulate a game in Python, given these probabilities how do I program it so it gives me a list of how many time each person wins from a total of 10 games?
The probability of A winning is 0.416667
The probability of B winning is 0.583333
Something like this should do it:
If it has to be really exact this is not a good idea though since the bounderies are not handled correctly.