def affiche(self, h = 0): if self.right: self.right.affiche(h + 1) spaces = ' ' * 7 * h print(spaces,self.data) if self.left: self.left.affiche(h + 1)