input: 
  from typing import List
  
  def search_list(items: List[str], query: str) -> List[int]:
      """ 
      Takes a list of strings and a search query. Returns the indices of all elements in the list
      that match the search query.
      
      >>> search_list(["apple", "banana", "peach", "orange", "grape"], "apple")
      [0]
      >>> search_list(["apple", "banana", "apple", "orange", "apple"], "apple")
      [0, 2, 4]
      >>> search_list(["banana", "peach", "orange", "grape"], "apple")
      []    
      """
      return [i for i, item in enumerate(items) if item == query]
  
output:     return [i for i, item in enumerate(items) if item == query]