a = [ x for x in range(1, 10)]
[ print(str(y)+"x"+str(x)+"="+str(x*y)) for y in a for x in a] x for x in range(1, 10) for x in range(1, 10) x range(1, 10) range 1 10 for x in range(1, 10) x a = [ x for x in range(1, 10)] a [ x for x in range(1, 10)] print(str(y)+"x"+str(x)+"="+str(x*y)) for y in a for x in a for y in a for x in a y a for x in a x a for x in a print(str(y)+"x"+str(x)+"="+str(x*y)) print str(y)+"x"+str(x)+"="+str(x*y) str(y)+"x"+str(x)+"=" str(y)+"x"+str(x) str(y)+"x" str(y) str y "x" str(x) str x "=" str(x*y) str x*y x y [ print(str(y)+"x"+str(x)+"="+str(x*y)) for y in a for x in a] a = [ x for x in range(1, 10)] [ x for x in range(1, 10)] a
a = [ x for x in range(1, 10)]
[ print(str(y)+"x"+str(x)+"="+str(x*y)) for y in a for x in a]