Skip to content

Instantly share code, notes, and snippets.

View Manpreet-Bhatti's full-sized avatar
⌨️
Building features

Manpreet Bhatti Manpreet-Bhatti

⌨️
Building features
View GitHub Profile
@Manpreet-Bhatti
Manpreet-Bhatti / TicTacToe.py
Created April 21, 2018 05:33
Tic Tac Toe - Python
from __future__ import print_function
from IPython.display import clear_output
def display_board(board):
clear_output()
print(' | |')
print(' ' + board[7] + ' | ' + board[8] + ' | ' + board[9])
print(' | |')
print('-----------')