yield self
if self.right:
    for x in self.right.inorderwalk():
        yield x

def sillywalk(self):
    """Tiny, silly subset of `inorderwalk` functionality as requested."""
if self.left:
    self.left.sillywalk()
print(self.payload)
if self.right:
    self.right.sillywalk()
represent binary search trees in python