input: Write a function to create a web scraper in Python that can extract hotel reviews from TripAdvisor. The function should define the URL and headers, make a request to get the HTML, parse it using BeautifulSoup, find all reviews, and extract the review title and text. Finally, the function should print each review's title and text with a separator.
  assert extract_reviews('<url>')
  assert extract_reviews('<another_url>')
output: def extract_reviews(url):
      import requests
      from bs4 import BeautifulSoup
      
      headers = {
          'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'}
      
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      reviews = soup.find_all('div', class_='review-container')
      
      for review in reviews:
          title = review.find('span', class_='noQuotes').text
          text = review.find('p', class_='partial_entry').text
          print(f"Title: {title}")
          print(f"Text: {text}")
          print("-" * 40)