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 the URL, parse the HTML response, find all review containers, and extract the title and text of each review. If successful, it should print each review's title and text. If no reviews are found, it should return an appropriate message.
  import requests
  from bs4 import BeautifulSoup
  
  assert tripadvisor_review_scraper('<url>') == print('Scraping successful')
  assert tripadvisor_review_scraper('<invalid_url>') == print('No reviews found')
output: def tripadvisor_review_scraper(url):
      headers = {'User-Agent': 'Mozilla/5.0'}
      response = requests.get(url, headers=headers)
      if response.status_code == 200:
          soup = BeautifulSoup(response.text, 'html.parser')
          reviews = soup.find_all('div', class_='review-container')
          if reviews:
              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")
              print('Scraping successful')
          else:
              print('No reviews found')
      else:
          print('No reviews found')