input: 
  def search_char(input_str: str, target_char: str) -> bool:
      """Search for a character in a given string and return True if found, otherwise False.
      >>> search_char("Hello", 'l')
      True
      >>> search_char("Hello", 'z')
      False
      >>> search_char("Programming", 'g')
      True
      """
  
output:     for char in input_str:
          if char == target_char:
              return True
      return False