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