input: def search_list(list: List[str], search_query: str) -> List[int]:
      """Given a list of strings and a search query, return 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", "apple"], "apple")
      [0, 2, 4]
      """
output:     indices = []
      for i, item in enumerate(list):
          if item == search_query:
              indices.append(i)
      return indices