input: Write a function to create a web scraper in Python that can extract hotel reviews from TripAdvisor. The function should take the URL of the TripAdvisor page as input and return a list of dictionaries, where each dictionary contains the title and text of a review. If no reviews are found, the function should return an empty list.
  assert create_web_scraper('<url>') == [{'title': 'Great Stay', 'text': 'We had a wonderful time at this hotel.'}, {'title': 'Disappointing', 'text': 'The service was really poor.'}]
  assert create_web_scraper('<url_with_no_reviews>') == []
output: def create_web_scraper(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      reviews = []
      for review in soup.find_all('div', class_='review-container'):
          title = review.find('span', class_='noQuotes').text
          text = review.find('p', class_='partial_entry').text
          reviews.append({'title': title, 'text': text})
      
      return reviews