input: Write a function that takes a list and a search query as input and returns the indices of all elements in the list which match the search query.
  
  def search_list(list, search_query):
      result = []
      for i in range(len(list)):
          if list[i] == search_query:
              result.append(i)
      return result
  
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "apple")==[0]
  assert search_list(["apple", "banana", "apple", "orange", "grape"], "apple")==[0, 2]
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "orange")==[3]
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "grape")==[4]
  assert search_list(["apple", "banana", "peach", "orange", "grape"], "kiwi")==[]
output: def search_list(list, search_query):
      result = []
      for i in range(len(list)):
          if list[i] == search_query:
              result.append(i)
      return result