input: def html_to_text(html_string: str) -> str:
      """ Converts a given HTML string to plain text by removing tags.
      >>> html_to_text('<p>This is a <b>bold</b> statement.</p>')
      'This is a bold statement.'
      >>> html_to_text('<a href="http://example.com">Link</a>')
      'Link'
      """
output:     import re
      return re.sub(r'<[^>]+>', '', html_string)