9*9 a=1 b=1 while a<10 and b<10: print ('%d*%d=%2d'%(a,b,a*b),end=' ') b=b+1 if b==10: print('') a=a+1 b=1