Demonstration of solution to 100 Prisoner Problem in Python
to run use the command < python 100PrisonerProblem.py > in a terminal in the same directory as the file. It simulates 10000 runs
Movitvation
After Watching a Veritasium Video about the problem I decided to prove it via code.
update I would take a look at using hashmaps or something if i were to redo it, to improve performance