[print("{}x{}={}".format(x, y, x*y)) for x in range(1, 10) for y in range(1, 10)] print("{}x{}={}".format(x, y, x*y)) for x in range(1, 10) for y in range(1, 10) for x in range(1, 10) for y in range(1, 10) x range(1, 10) range 1 10 for y in range(1, 10) y range(1, 10) range 1 10 for y in range(1, 10) print("{}x{}={}".format(x, y, x*y)) print "{}x{}={}".format(x, y, x*y) "{}x{}={}".format "{}x{}={}" format x y x*y x y [print("{}x{}={}".format(x, y, x*y)) for x in range(1, 10) for y in range(1, 10)]
[print("{}x{}={}".format(x, y, x*y)) for x in range(1, 10) for y in range(1, 10)]