python之一行代码


print('\n'.join([''.join(['%s*%s=%-3s' % (x,y,x*y) for x in range(1,y+1)]) for y in range(1,10)]))