for i in range(9):
    for k in range(9):
        p = (i+1)*(k+1)
        print('{}x{}={}'.format(i+1,k+1,p)) for i in range(9):
    for k in range(9):
        p = (i+1)*(k+1)
        print('{}x{}={}'.format(i+1,k+1,p)) i range(9) range 9 for k in range(9):
        p = (i+1)*(k+1)
        print('{}x{}={}'.format(i+1,k+1,p)) k range(9) range 9 p = (i+1)*(k+1) p (i+1)*(k+1) i+1 i 1 k+1 k 1 print('{}x{}={}'.format(i+1,k+1,p)) print '{}x{}={}'.format(i+1,k+1,p) '{}x{}={}'.format '{}x{}={}' format i+1 i 1 k+1 k 1 p p = (i+1)*(k+1) (i+1)*(k+1) p
for i in range(9):
    for k in range(9):
        p = (i+1)*(k+1)
        print('{}x{}={}'.format(i+1,k+1,p))
