from __future__ import absolute_import, print_function, unicode_literals

for a in xrange(1, 10):
    for b in xrange(1, 10):
        print('{}x{}={}'.format(a, b, a * b)) from __future__ import absolute_import, print_function, unicode_literals for a in xrange(1, 10):
    for b in xrange(1, 10):
        print('{}x{}={}'.format(a, b, a * b)) a xrange(1, 10) xrange 1 10 for b in xrange(1, 10):
        print('{}x{}={}'.format(a, b, a * b)) b xrange(1, 10) xrange 1 10 print('{}x{}={}'.format(a, b, a * b)) print '{}x{}={}'.format(a, b, a * b) '{}x{}={}'.format '{}x{}={}' format a b a * b a b
from __future__ import absolute_import, print_function, unicode_literals

for a in xrange(1, 10):
    for b in xrange(1, 10):
        print('{}x{}={}'.format(a, b, a * b))