input: Write a python function to get all hyperlinks from a given URL and return them as a list.
  assert get_all_links("https://www.example.com") == ['https://www.iana.org/domains/example']
  assert get_all_links("https://www.wikipedia.org") == ['https://www.wikimediafoundation.org/', 'https://www.wikipedia.org/']
output: def get_all_links(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      links = []
      for link in soup.find_all('a', href=True):
          links.append(link['href'])
      
      return links