input: def search_char(input_str: str, char: str) -> bool:
      """Search for a character in a given string.
      >>> search_char("Hello", 'l')
      True
      >>> search_char("World", 'x')
      False
      >>> search_char("Python", 'y')
      True
      """
      for ch in input_str:
          if ch == char:
              return True
      return False
output:     for ch in input_str:
          if ch == char:
              return True
      return False