Skip to content

Instantly share code, notes, and snippets.

@kim0
Created June 3, 2015 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kim0/5df1450b780c344a4a76 to your computer and use it in GitHub Desktop.
Save kim0/5df1450b780c344a4a76 to your computer and use it in GitHub Desktop.
# 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