input: Write a function to determine if a given character exists in a provided string. If the character is found, return True; otherwise, return False.
  
  def search_char(input_str, char):
    for ch in input_str:
      if ch == char:
        return True
    return False
  
  assert search_char("Hello", 'l') == True
  assert search_char("Hello", 'o') == True
  assert search_char("Hello", 'z') == False
  assert search_char("Hello", 'H') == True
  assert search_char("Hello", ' ') == False
output: def search_char(input_str, char):
    for ch in input_str:
      if ch == char:
        return True
    return False