print(' '.join([' '.join(['%2d *%2d = %2d' % (i, j, i * j) for i in range(1, j + 1)]) for j in range(1, 10)]))
无聊写个99乘法表