刚开始学习使用python,简单的实现一个99乘法口诀表:
#!/usr/bin/env python
#
for i in range(1,10):
    for j in range(1,10):
        if i >= j:
            print ("%s * %s = %s " %(i,j,i*j)),
    print ""本文出自 “温水煮青蛙” 博客,请务必保留此出处http://tanxw.blog.51cto.com/4309543/1615617
原文:http://tanxw.blog.51cto.com/4309543/1615617