create a tic tac toe game with a char grid
class TicTacToe: def __init__(self): self.char_grid = [ ["-", "-", "-"], ["-", "-", "-"], ["-", "-", "-"] ] def display_grid(self): for row in self.char_grid: # print out the row for char in row: print(char, end="") print()