input: Write a python function to extract all links and text from a webpage using BeautifulSoup.
  assert extract_links_and_text('http://example.com') == (['link1', 'link2'], ['text1', 'text2'])
  assert extract_links_and_text('http://anotherexample.com') == (['link3', 'link4'], ['text3', 'text4'])
  assert extract_links_and_text('http://yetanotherexample.com') == (['link5', 'link6'], ['text5', 'text6'])
output: def extract_links_and_text(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      links = [a['href'] for a in soup.find_all('a', href=True)]
      texts = [a.get_text() for a in soup.find_all('a')]
  
      return links, texts