Last active
April 20, 2020 07:28
-
-
Save horstjens/14c7fec457466251629992337f08721f to your computer and use it in GitHub Desktop.
ThePythonGameBook, tictactoe step 002
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
print("[ ] [ ] [ ]\n" * 3) # all in one-line |
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
board=""" | |
r\c 0: 1: 2: | |
0: [ ] [ ] [ ] | |
1: [ ] [ ] [ ] | |
2: [ ] [ ] [ ]""" | |
print(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
# test 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment