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