input: Write a function that allows you to extract hotel reviews from TripAdvisor by using a web scraper built in Python. The function should take a URL as input, make a request to the given URL with an appropriate User-Agent header, parse the HTML using BeautifulSoup, and then extract and print the title and text of each review.
output: def extract_hotel_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}\nText: {text}\n")