for second in range(1,10): for first in range(1,second+1): print("{}*{}={}".format(first,second,first*second),end='\t') print()