def __init__(self, sequence, formula):
        """ storing one sequence and the relating formula """
        self.sequence = sequence
        self.formula  = formula
        self.hashCode = hash(tuple(self.sequence))
 storing one sequence and the relating formula 
recipes/Python/578061_Sequence_Builder/recipe-578061.py