r = 1 while r <= 9: c = 1 while c<= r: print('%d * %d =%d ' %(c,r,c*r),end='\t') c +=1 print('') r += 1