input: Write a function that creates a Python web scraper to extract hotel reviews from TripAdvisor. The function should take a URL as input, make an HTTP request using the provided headers, parse the HTML response using BeautifulSoup, and extract the title and text of each review. The function should print the title and text of each review followed by a separator line.
  assert extract_reviews('<url>')
  assert extract_reviews('<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)