input: Write a python function to scrape headlines and links from a Wikipedia page.
  assert scrape_wiki('https://en.wikipedia.org/wiki/Python_(programming_language)') != None
  assert isinstance(scrape_wiki('https://en.wikipedia.org/wiki/Python_(programming_language)'), tuple)
  assert len(scrape_wiki('https://en.wikipedia.org/wiki/Python_(programming_language)')) == 2
output: def scrape_wiki(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      headlines = [headline.text.strip() for headline in soup.find_all(['h1', 'h2', 'h3', 'h4', 'h5', 'h6'])]
      links = [a['href'] for a in soup.find_all('a', href=True)]
  
      return headlines, links