Skip to content

Instantly share code, notes, and snippets.

@molarmanful
Created September 18, 2019 11:29
Show Gist options
  • Save molarmanful/f77815cf436a20bcbe6b2432b2a8bb03 to your computer and use it in GitHub Desktop.
Save molarmanful/f77815cf436a20bcbe6b2432b2a8bb03 to your computer and use it in GitHub Desktop.
for i in range(len(matrix)):
print(matrix[i], 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