input: import requests
  from bs4 import BeautifulSoup
  
  def extract_tripadvisor_reviews(url: str) -> list:
      """ Extracts hotel reviews from TripAdvisor using the given URL.
      The function sends a request to the URL, parses the HTML content, and
      extracts the title and text of each review. Returns a list of tuples
      where each tuple contains the title and text of a review.
      >>> extract_tripadvisor_reviews('<url>')
      [('Title1', 'Review text 1'), ('Title2', 'Review text 2')]
      """
      headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'}
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
      extracted_reviews = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          extracted_reviews.append((title, text))
      return extracted_reviews
output:     headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36'}
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      reviews = soup.find_all('div', {'class': 'review-container'})
      extracted_reviews = []
      for review in reviews:
          title = review.find('span', {'class': 'noQuotes'}).text
          text = review.find('p', {'class': 'partial_entry'}).text
          extracted_reviews.append((title, text))
      return extracted_reviews