def open_door(self):
    """
    Open one of the doors that has not been selected.  One of the doors may have
    the prize.  Don't open that one.
    """
    keys = self.keep_track["doors"].keys()
    for key in keys:
      if self.keep_track["doors"][key] == self.keep_track["prize"]:
        pass
      else:
        self.keep_track["opened"] = self.keep_track["doors"][key]
        del self.keep_track["doors"][key]
        print("\nDoor %s is open and contains a %s.\n" 
              % (self.keep_track["opened"].label, self.keep_track["opened"].contents)
              )
        print("Your odds of holding the prize behind door number %s have not changed." 
              % self.keep_track["selected"].label)
        print("The house odds have not changed just because one of the house doors has been opened.")
        print("You now know which of the two doors held by the house does not contain the prize.")
        print("Switching your selection is the same as switching to both doors held by the house.")
        print("This is because you have taken the open door out of the selection options.")
        print("Switching to the open door would just be silly, unless you want the goat.")
        print("Switching to the house's closed door exchanges your odds (1 in 3) for the house odds (2 in 3)\n")
        break

    Open one of the doors that has not been selected.  One of the doors may have
    the prize.  Don't open that one.
    
recipes/Python/577374_monty_hall_problem/recipe-577374.py