Last active
August 29, 2015 14:11
-
-
Save blackrobot/85dc9bc61e02a0a720eb to your computer and use it in GitHub Desktop.
Prints a multiplication table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(*(' '.join('{:>2}'.format(x * y) for x in range(1, 10)) for y in range(1, 10)), sep='\n') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment