input: def search_list(list: list, search_query: str) -> list:
      """
      Takes a list and a search query as input and returns the indices of all elements in the list which match the search query.
      >>> search_list(["apple", "banana", "peach", "orange", "grape"], "apple")
      [0]
      >>> search_list(["apple", "banana", "apple", "orange", "grape"], "apple")
      [0, 2]
      """
output:     result = []
      for i, item in enumerate(list):
          if item == search_query:
              result.append(i)
      return result