import itertools
for i,j in itertools.product(range(1,10), range(1,10)):
    print('{}x{}={}'.format(i,j,i*j)) import itertools itertools for i,j in itertools.product(range(1,10), range(1,10)):
    print('{}x{}={}'.format(i,j,i*j)) i j itertools.product(range(1,10), range(1,10)) itertools.product itertools product range(1,10) range 1 10 range(1,10) range 1 10 print('{}x{}={}'.format(i,j,i*j)) print '{}x{}={}'.format(i,j,i*j) '{}x{}={}'.format '{}x{}={}' format i j i*j i j
import itertools
for i,j in itertools.product(range(1,10), range(1,10)):
    print('{}x{}={}'.format(i,j,i*j))
