1 # -*- coding: UTF-8 -*- 2 # Filename : test.py 3 # Vincent Zhang 4 # 九九乘法表 5 for i in range(1, 10): 6 for j in range(1, i+1): 7 print('{}x{}={} '.format(i, j, i*j), end='') 8 print()
1 # -*- coding: UTF-8 -*- 2 # Filename : test.py 3 # Vincent Zhang 4 # 九九乘法表 5 for i in range(1, 10): 6 for j in range(1, i+1): 7 print('{}x{}={} '.format(i, j, i*j), end='') 8 print()