~cpp if __name__ == '__main__': for j in range(1,10): for i in range(2,6): print i,'*',j,'=',i*j, print '' for j in range(1,10): for i in range(6,10): print i,'*',j,'=',i*j, print ''