Skip to content

Instantly share code, notes, and snippets.

@molarmanful
Last active September 18, 2019 19:45
Show Gist options
  • Save molarmanful/e8cb9d4de48ef2383b1de1abb05a1b76 to your computer and use it in GitHub Desktop.
Save molarmanful/e8cb9d4de48ef2383b1de1abb05a1b76 to your computer and use it in GitHub Desktop.
def mprint():
for i in range(ROWS * COLS):
print('.X'[i == POS], end=' ')
if i and not i % COLS - 1:
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment