The goal of this assignment is to develop an application which takes a tic tac toe board, and outputs who the winner is (if any), or whether it is a draw code example
Example: preventing players from changing existing entries in tic tac toe game
# Checking whether the position on the tic tac board is occupied or not.
def place_marker(board, marker, position):
if board[position] == ' ':
board[position] = marker
else:
print("That space is already occupied.")