Skip to content

Instantly share code, notes, and snippets.

@Raj39120
Last active May 4, 2020 20:15
Show Gist options
  • Save Raj39120/860d8a0e9e673ece0b9d89fbe267ace3 to your computer and use it in GitHub Desktop.
Save Raj39120/860d8a0e9e673ece0b9d89fbe267ace3 to your computer and use it in GitHub Desktop.
a = int(input("Enter the length you want the game board to be: "))
b = int(input("Enter the width you want the game board to be: "))
for x in range(0, a):
print(" ---" * b)
print("| " * (b+1))
print(" ---" * b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment