input: Write a python function to scrape and print all the titles and descriptions from a given URL.
  assert scrape_titles_descriptions('https://example.com')==(['Title1', 'Title2'], ['Description1', 'Description2'])
  assert scrape_titles_descriptions('https://anotherexample.com')==(['AnotherTitle1', 'AnotherTitle2'], ['AnotherDescription1', 'AnotherDescription2'])
  assert scrape_titles_descriptions('https://yetanotherexample.com')==(['YetAnotherTitle1'], ['YetAnotherDescription1', 'YetAnotherDescription2'])
output: def scrape_titles_descriptions(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      titles = [title.get_text() for title in soup.find_all('title')]
      descriptions = [desc.get_text() for desc in soup.find_all('meta', attrs={'name': 'description'})]
  
      return titles, descriptions