for y in xrange(1, 10):
    for x in xrange(1, 10):
        print('%dx%d=%d' % (y, x, y*x)) for y in xrange(1, 10):
    for x in xrange(1, 10):
        print('%dx%d=%d' % (y, x, y*x)) y xrange(1, 10) xrange 1 10 for x in xrange(1, 10):
        print('%dx%d=%d' % (y, x, y*x)) x xrange(1, 10) xrange 1 10 print('%dx%d=%d' % (y, x, y*x)) print '%dx%d=%d' % (y, x, y*x) '%dx%d=%d' (y, x, y*x) y x y*x y x
for y in xrange(1, 10):
    for x in xrange(1, 10):
        print('%dx%d=%d' % (y, x, y*x))