input: from typing import List
  
  def extract_hotel_reviews(url: str, headers: dict) -> List[str]:
      """ Extracts hotel reviews from TripAdvisor given a URL and headers.
      Returns a list of review texts.
      >>> extract_hotel_reviews('https://www.tripadvisor.com', {'User-Agent': 'Mozilla/5.0'})
      ['This hotel was amazing! Wonderful service.', 'Not very clean, stay away.']
      """
      import requests
      from bs4 import BeautifulSoup
  
      # 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'})
  
      # Extract the data
      extracted_reviews = []
      for review in reviews:
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text
          extracted_reviews.append(text)
  
      return extracted_reviews
output:     import requests
      from bs4 import BeautifulSoup
  
      # 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'})
  
      # Extract the data
      extracted_reviews = []
      for review in reviews:
          # Get the text
          text = review.find('p', {'class': 'partial_entry'}).text
          extracted_reviews.append(text)
  
      return extracted_reviews