def __str__(self):
         """ String representation of the EOQ, annual order and holding cost,
         total annual inventory cost to obtain discount and using EOQ, and the
         annual profit or loss arise """
         
         print "\n<EOQ = %2.0f \n \
                \n<The annual order cost = %s\n \
                \n<The annual holding cost = %s\n \
                \n<The total annual inventory cost to obtain discount  = %s\n\
                \n<The total annual inventory cost using EOQ  is = %s" \
                % (self.A,self.H,self.G,self.C,self.I)
         
         if int(self.J)> 0:
            return "\n<The annual profit of ordering in batches of %s is %s " % (self.X,self.J) 
         else:
            return "\n<The annual loss of ordering in batches of %s is %s " % (self.X,self.J)
 String representation of the EOQ, annual order and holding cost,
         total annual inventory cost to obtain discount and using EOQ, and the
         annual profit or loss arise 
recipes/Python/576651_EOQ/recipe-576651.py