Last active
November 9, 2023 04:27
-
-
Save APAC-GOLD/e6f6a1292f065dc7694570c3b23d1652 to your computer and use it in GitHub Desktop.
Tic Tac Toe Board
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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