In this tutorial, we will show how to create a tic tac toe game in python. We will use functions, arrays, if conditional statements, while loop statements, error trapping, etc. First, we need to create two functions. The first function is used to display the game board: def pri