x=range(1,10)
[print("%dx%d=%d"%(i,j,i*j))for i in x for j in x] x=range(1,10) x range(1,10) range 1 10 print("%dx%d=%d"%(i,j,i*j))for i in x for j in x for i in x for j in x i x for j in x j x for j in x print("%dx%d=%d"%(i,j,i*j)) print "%dx%d=%d"%(i,j,i*j) "%dx%d=%d" (i,j,i*j) i j i*j i j [print("%dx%d=%d"%(i,j,i*j))for i in x for j in x] x=range(1,10) range(1,10) x
x=range(1,10)
[print("%dx%d=%d"%(i,j,i*j))for i in x for j in x]