input: Write a function to scrape hotel reviews from TripAdvisor using Python. The function should send an HTTP request to the specified URL, parse the HTML response to find review elements, and extract the title and text of each review. The function should 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 scrape_tripadvisor_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d121872-Reviews-The_New_York_Palace-New_York_City_New_York.html')==[{'title': 'Amazing Stay!', 'text': 'The hotel was fantastic and the service was top-notch.'}]
  assert scrape_tripadvisor_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d121872-Reviews-The_New_York_Palace-New_York_City_New_York.html')==[{'title': 'Excellent Service', 'text': 'The staff were very friendly and helpful.'}]
  assert scrape_tripadvisor_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d121872-Reviews-The_New_York_Palace-New_York_City_New_York.html')==[]
  assert scrape_tripadvisor_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d121872-Reviews-The_New_York_Palace-New_York_City_New_York.html')==[{'title': 'Great Location', 'text': 'The hotel is centrally located and easy to get to.'}]
  assert scrape_tripadvisor_reviews('https://www.tripadvisor.com/Hotel_Review-g60763-d121872-Reviews-The_New_York_Palace-New_York_City_New_York.html')==[]
  
output: import requests
  from bs4 import BeautifulSoup
  
  def scrape_tripadvisor_reviews(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.text, '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