input: Write a python function to scrape all the links from a given webpage and return their text and URLs.
  assert scrape_links('https://example.com/page') == (['Example Link 1', 'Example Link 2'], ['https://example.com/link1', 'https://example.com/link2'])
  assert scrape_links('https://example.com/anotherpage') == (['Another Example Link'], ['https://example.com/anotherlink'])
output: def scrape_links(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      links = soup.find_all('a')
      link_texts = []
      link_urls = []
  
      for link in links:
          if link.get('href'):
              link_texts.append(link.get_text())
              link_urls.append(link.get('href'))
  
      return link_texts, link_urls