SHARE
TWEET

Untitled

a guest Sep 12th, 2019 96 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def print_board():
  2.     n = int(input('Assign the size of board:\n'))
  3.     for i in range(n):
  4.         print(' ---'*n)
  5.         print('|'+'   |'*n)
  6.     print(' ---'*n)
  7.  
  8. if __name__ == "__main__":
  9.     print_board()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top