def __str__(self):
        """ 
        This function returns a string representation for a node.
        """

        html = '<%s %s>' % (self.name, self.attr)
   

        for ind in self:
            html = '%s%s' % (html, ind)

        html = html + self.name % '</%s>'

        return html
dataset/ETHPy150Open iogf/ehp/ehp.py/Tag.__str__/swapped operands of `%`