i = 1j = 1while i < 10: while j <= i: print("{}*{}={}".format(j,i,i*j),end = " ") j += 1 print() j = 1 i += 1