python-九九乘法表

>>> for i in range(1,10):
... print
... for j in range(1,i+1):
... print '%s*%s=%s' %(j,i,i*j),
...

原文地址:https://www.cnblogs.com/thb-blog/p/7454504.html