Skip to content

Instantly share code, notes, and snippets.

@zachelko
Created May 2, 2010 01:57
Show Gist options
  • Save zachelko/386824 to your computer and use it in GitHub Desktop.
Save zachelko/386824 to your computer and use it in GitHub Desktop.
def multiplicationTable(endVal):
for i in range(1, endVal+1):
for j in range(1, endVal+1):
print repr(i * j).ljust(4),
print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment