input: 
  from typing import List
  
  def extract_hotel_reviews(url: str) -> List[str]:
      """ Extract hotel reviews from a given TripAdvisor URL and return a list of formatted reviews.
      Each review should contain a title and the text content. 
      
      Examples:
      >>> extract_hotel_reviews('https://www.tripadvisor.com/Hotel_Review-g34438-d101234-Reviews-Sample_Hotel')
      ['Excellent Stay\nThe hotel was very clean and the staff was extremely friendly. We would definitely stay here again.', 'A Disappointing Experience\nThe room was not as advertised and the service was poor. We will not be returning.']
      """
      import requests
      from bs4 import BeautifulSoup
  
      # Define the headers
      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'}
  
      # Make a request and get HTML in response
      response = requests.get(url, headers=headers)
  
      # Parse HTML
      soup = BeautifulSoup(response.text, 'html.parser')
  
      # Find all reviews
      reviews = soup.find_all('div', {'class': 'review-container'})
  
      # List to store formatted reviews
      formatted_reviews = []
  
      # Go through every review and extract the data
      for review in reviews:
          # Get the title
          title = review.find('span', {'class': 'noQuotes'}).text
  
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text
  
          # Append formatted review to list
          formatted_reviews.append(f"{title}\n{text}")
  
      return formatted_reviews
  
output:     import requests
      from bs4 import BeautifulSoup
  
      # Define the headers
      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'}
  
      # Make a request and get HTML in response
      response = requests.get(url, headers=headers)
  
      # Parse HTML
      soup = BeautifulSoup(response.text, 'html.parser')
  
      # Find all reviews
      reviews = soup.find_all('div', {'class': 'review-container'})
  
      # List to store formatted reviews
      formatted_reviews = []
  
      # Go through every review and extract the data
      for review in reviews:
          # Get the title
          title = review.find('span', {'class': 'noQuotes'}).text
  
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text
  
          # Append formatted review to list
          formatted_reviews.append(f"{title}\n{text}")
  
      return formatted_reviews