Skip to content

Instantly share code, notes, and snippets.

@APAC-GOLD
Last active November 9, 2023 04:27
Show Gist options
  • Save APAC-GOLD/e6f6a1292f065dc7694570c3b23d1652 to your computer and use it in GitHub Desktop.
Save APAC-GOLD/e6f6a1292f065dc7694570c3b23d1652 to your computer and use it in GitHub Desktop.
Tic Tac Toe Board
#Tic Tac Toe Board Python
n = 2
for j in range(n):
print (" "*(n+1), "|", " "*(n+1), "|")
print("- " * ((n+1)*2+n))
for j in range(n):
print (" "*(n+1), "|", " "*(n+1), "|")
print("- " *((n+1)*2+n))
for j in range(n):
print (" "*(n+1), "|", " "*(n+1), "|")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment