r=range(1,10)
[print('%dx%d=%d'%(i,j,i*j))for i in r for j in r] r=range(1,10) r range(1,10) range 1 10 print('%dx%d=%d'%(i,j,i*j))for i in r for j in r for i in r for j in r i r for j in r j r for j in r 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 r for j in r] r=range(1,10) range(1,10) r
r=range(1,10)
[print('%dx%d=%d'%(i,j,i*j))for i in r for j in r]
