Created
January 18, 2012 02:44
-
-
Save syshack/1630520 to your computer and use it in GitHub Desktop.
99乘法表
This file contains hidden or 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
#!/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), | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment