codeforces/557C_table.py
def calculate(self):
        """ Main calcualtion function of the class """

        iter = self.get_new_layer_info(self.legs, self.energy)

        for g in iter:
            pass

        result = self.ires_eng

        return str(result)
 Main calcualtion function of the class 
Main calcualtion function of the class
Main calcualtion function of the class
def calculate(self):
        iter = self.get_new_layer_info(self.legs, self.energy)
        for g in iter:
            pass
        result = self.ires_eng
        return str(result)
def calculate ( self ) : iter = self . get_new_layer_info ( self . legs , self . energy ) for g in iter : pass result = self . ires_eng return str ( result )
Main calcualtion function of the class
Main calcualtion function of the class
""" Main calcualtion function of the class """
self