code: def rotate_left(self):
          
          new_root = self.node.right.node
          new_left_sub = new_root.left.node
          old_root = self.node
  
          self.node = new_root
          old_root.right.node = new_left_sub
          new_root.left.node = old_root
docs: Left rotation