print99Table.py def printTable(): for x in range(1,10): for y in range(1,x+1): print str(x)+"X"+str(y)+"="+str(x*y), print '/n' printTable() 输出99乘法表