input: 
  def html_to_text(html_string: str) -> str:
      """Convert HTML to plain text by removing HTML tags.
      >>> html_to_text('<h1>Hello, World!</h1>')
      'Hello, World!'
      >>> html_to_text('<p>This is a <b>bold</b> statement.</p>')
      'This is a bold statement.'
      """
      output = ''
      in_tag = False
      for char in html_string:
          if char == '<':
              in_tag = True
          elif char == '>':
              in_tag = False
          elif in_tag == False:
              output += char
      return output
  
output:     output = ''
      in_tag = False
      for char in html_string:
          if char == '<':
              in_tag = True
          elif char == '>':
              in_tag = False
          elif in_tag == False:
              output += char
      return output