title: I keep getting the wrong output for my Monty Hall game stimulator in python 3
body: <p>I'm trying to recreate the Monty Hall game (<a href="http://mathworld.wolfram.com/MontyHallProblem.html" rel="nofollow noreferrer">here is a description of the game)</a>
  Where it will ask the user to enter a number (my code asks to 'Enter a random seed') to begin, if the user doesn't enter a number, the game will display an error message. If the user does enter a number, the game will start. The game will then ask the user how many times they want to test the game so if the user says 5, then the game will repeat five times and it will ask the user AGAIN once it completes all five games. However, if the user enters a string/non-number like "five" then the game should ask the user to enter a number until the user finally does enter a number. </p>
  
  <p><strong><em>Here is an example of what the input could be</em></strong></p>
  
  <pre><code>25
  5
  exit
  </code></pre>
  
  <p><strong><em>Here is what the output SHOULD be</em></strong> </p>
  
  <pre><code>Enter Random Seed:
  Welcome to Monty Hall Analysis
  Enter 'exit' to quit.
  How many tests should we run?
  Game 1
  Doors: ['G', 'C', 'G']
  Player Selects Door 1
  Monty Selects Door 3
  Player should switch to win.
  Game 2
  Doors: ['C', 'G', 'G']
  Player Selects Door 1
  Monty Selects Door 2
  Player should stay to win.
  Game 3
  Doors: ['G', 'C', 'G']
  Player Selects Door 2
  Monty Selects Door 1
  Player should stay to win.
  Game 4
  Doors: ['C', 'G', 'G']
  Player Selects Door 1
  Monty Selects Door 2
  Player should stay to win.
  Game 5
  Doors: ['G', 'C', 'G']
  Player Selects Door 3
  Monty Selects Door 1
  Player should switch to win.
  Stay Won 60.0% of the time.
  Switch Won 40.0% of the time.
  How many tests should we run?
  Thank you for using this program.
  </code></pre>
  
  <p><strong><em>Here is what MY program outputs</em></strong></p>
  
  <pre><code>Enter Random Seed:
  Welcome to Monty Hall Analysis
  Enter 'exit' to quit.
  How many tests should we run?
  Please enter a number:
  How many tests should we run?
  Traceback (most recent call last):
    File "monty.py", line 16, in &lt;module&gt;
      tests = int(input('How many tests should we run?\n'))
  EOFError: EOF when reading a line
  </code></pre>
  
  <p><strong><em>Here is my code</em></strong></p>
  
  <pre><code>import random
  G=0
  G2=0
  C=0
  try:    
      random_seed = input('Enter Random Seed:\n')
      random_seed = int(random_seed)
      print('Welcome to Monty Hall Analysis')
      exit = input("Enter 'exit' to quit.\n")
      while True:
              if exit == 'exit':
                      print('Thank you for using this program.')
                      break
              try:
                      tests = int(input('How many tests should we run?\n'))
                      tests = int(tests)
              except ValueError:
                      print('Please enter a number:')
                      continue
              select_door = ['G', 'C', 'G']
              random.shuffle(select_door)
              player_door = int(input('Doors: '+str(select_door)))
              if random.shuffle(select_door) == "['G', 'C', 'G']":
                      G = 1
                      C = 2
                      G2 = 3
              elif random.shuffle(select_door) == "['C', 'G', 'G']":
                      C = 1
                      G = 2
                      G2 = 3
              elif random.shuffle(select_door) == "['G', 'G', 'C']":
                      G = 1
                      G2 = 2
                      C = 3
              if player_door == C:
                      print('Player should stay to win')
              else:
                      print('Player should switch to win')
              doors = [1 , 2 , 3]
              random.choice(doors)
              print('Player Selects Door: ', player_door)
              print('Monty Selects Door: ', random.choice(doors)) 
  except ValueError:
      print('Seed is not a number!')
  </code></pre>
  
  <p>Sorry if my code is really bad or if it doesn't make sense. I'm a new programmer.Also, I am just trying to get the actual game to work before I can work on the % stay won and the % switch won part. </p>