for i in range(1,10):
    for j in range(1,10):
        s = i * j
        print("{0}{3}{1}={2}".format(i, j, s, "x")) for i in range(1,10):
    for j in range(1,10):
        s = i * j
        print("{0}{3}{1}={2}".format(i, j, s, "x")) i range(1,10) range 1 10 for j in range(1,10):
        s = i * j
        print("{0}{3}{1}={2}".format(i, j, s, "x")) j range(1,10) range 1 10 s = i * j s i * j i j print("{0}{3}{1}={2}".format(i, j, s, "x")) print "{0}{3}{1}={2}".format(i, j, s, "x") "{0}{3}{1}={2}".format "{0}{3}{1}={2}" format i j s "x" s = i * j i * j s
for i in range(1,10):
    for j in range(1,10):
        s = i * j
        print("{0}{3}{1}={2}".format(i, j, s, "x"))