title: IndentationError: unexpected indent - Python 2.7
body: <p>I am creating a Tic Tac Toe game for my homework in Python and I don't understand why it's giving me an Identification Error.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>import sys
  import random
  
  def draw(board, x, y):
      new_x = 0
      for line in xrange(y):
          for line2 in xrange(new_x, x):
              print "|", board[line2], "|",
          print
          new_x += y
          x += y
  
  def player_team():
      choice = raw_input("Choose X or O... ")
      if choice.upper() == 'X':
          player = 'X'
          computer = 'O'
      elif choice.upper() == 'O':
          player = 'O'
          computer = 'X'
      else:
          player_team()
      return player, computer
  
  if __name__ == '__main__':
      cord = 3
      board = [' * '] * cord**2
      draw(board, cord, cord)
      player, computer = player_team()
  </code></pre>
  
  <p>The actual text of the error is:</p>
  
  <pre><code>File "chess.py", line 29
    player, computer = player_team()
    ^
  IndentationError: unexpected indent
  </code></pre>