Created
June 3, 2015 15:25
-
-
Save kim0/5df1450b780c344a4a76 to your computer and use it in GitHub Desktop.
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
# coding: utf-8 | |
def drawDash(n=3): | |
print("--- " * n) | |
def drawBar(n=3): | |
print("| " * (n+1)) | |
def drawBoard(n=3): | |
for i in range(n): | |
drawDash(n) | |
drawBar(n) | |
drawDash(n) | |
drawBoard(9) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment