python练习8--9*9乘法

练习

# File  : excise8.py
# IDE   : PyCharm

'''
打印9*9乘法口诀
分析:
i和j分别控制9行9列
'''
for i in range(1, 10):
    for j in range(1, i + 1):
        print('{0} * {1} = {2}'.format(i, j, i * j), end='	')
    print('')
原文地址:https://www.cnblogs.com/xiaohuboke/p/13595392.html