Skip to content

Instantly share code, notes, and snippets.

@syshack
Created January 18, 2012 02:44
Show Gist options
  • Save syshack/1630520 to your computer and use it in GitHub Desktop.
Save syshack/1630520 to your computer and use it in GitHub Desktop.
99乘法表
#!/usr/bin/env python
#99表
for x in range(1, 10):
for y in range(1, x + 1):
print "%s*%s=%-2s"%(y, x, x *y),
print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment