a = [x for x in range(9)]

for i in a:
    for j in a:
        print("{}x{}={}".format(i+1,j+1,(i+1)*(j+1))) x for x in range(9) for x in range(9) x range(9) range 9 for x in range(9) x a = [x for x in range(9)] a [x for x in range(9)] for i in a:
    for j in a:
        print("{}x{}={}".format(i+1,j+1,(i+1)*(j+1))) i a for j in a:
        print("{}x{}={}".format(i+1,j+1,(i+1)*(j+1))) j a print("{}x{}={}".format(i+1,j+1,(i+1)*(j+1))) print "{}x{}={}".format(i+1,j+1,(i+1)*(j+1)) "{}x{}={}".format "{}x{}={}" format i+1 i 1 j+1 j 1 (i+1)*(j+1) i+1 i 1 j+1 j 1 a = [x for x in range(9)] [x for x in range(9)] a
a = [x for x in range(9)]

for i in a:
    for j in a:
        print("{}x{}={}".format(i+1,j+1,(i+1)*(j+1)))