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.
Here's my 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()
The actual text of the error is:
File "chess.py", line 29
  player, computer = player_team()
  ^
IndentationError: unexpected indent
 
     
     
    