input: Write a python function to search a keyword on Wikipedia and return the summaries of the search results.
  assert search_wikipedia("artificial intelligence") == [
      "Artificial intelligence (AI) is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans and animals, which involves consciousness and emotionality.",
      "The field of AI research defines itself as the study of \"intelligent agents\": any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals."
  ]
  assert search_wikipedia("python programming") == [
      "Python is an interpreted high-level general-purpose programming language. Python's design philosophy emphasizes code readability with its notable use of significant indentation.",
      "Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects."
  ]
output: def search_wikipedia(keyword):
      import wikipedia
  
      search_results = wikipedia.search(keyword)
      summaries = []
  
      for result in search_results:
          try:
              summary = wikipedia.summary(result, sentences=2)
              summaries.append(summary)
          except wikipedia.exceptions.DisambiguationError as e:
              continue
          except wikipedia.exceptions.PageError as e:
              continue
  
      return summaries