Implementation of the monty hall problem for python 3