code: def postorder(self):
          
  
          if not self:
              return
  
          if self.left:
              for x in self.left.postorder():
                  yield x
  
          if self.right:
              for x in self.right.postorder():
                  yield x
  
          yield self
docs: iterator for nodes: left, right, root