import itertools

for ( i, j ) in itertools.product ( range ( 1, 10 ), range ( 1, 10 ) ):
  print ( "%sx%s=%s" % ( i, j, i * j ) ) import itertools itertools for ( i, j ) in itertools.product ( range ( 1, 10 ), range ( 1, 10 ) ):
  print ( "%sx%s=%s" % ( i, j, 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 ( "%sx%s=%s" % ( i, j, i * j ) ) print "%sx%s=%s" % ( i, j, i * j ) "%sx%s=%s" ( i, j, i * j ) i j i * j i j
import itertools

for ( i, j ) in itertools.product ( range ( 1, 10 ), range ( 1, 10 ) ):
  print ( "%sx%s=%s" % ( i, j, i * j ) )