input: Write a function to create a web scraper in Python that can extract hotel reviews from TripAdvisor. Define the URL and headers, make a request to get the HTML response, parse the HTML, find all reviews, and then extract and print the title and text of each review.
  assert scraper('<url>')==[('Review 1 Title', 'Review 1 Text'), ('Review 2 Title', 'Review 2 Text')]
  assert scraper('<url>')==[]
  assert scraper('<url>')==[('Review 3 Title', 'Review 3 Text')]
  assert scraper('<url>')==[('Review 4 Title', 'Review 4 Text'), ('Review 5 Title', 'Review 5 Text')]
  assert scraper('<url>')==[]
output: def scraper(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 = []
      for review in soup.find_all('div', class_='review-container'):
          title = review.find('span', class_='noQuotes').text.strip()
          text = review.find('p', class_='partial_entry').text.strip()
          reviews.append((title, text))
      
      return reviews