input: Write a python function to crawl a webpage and print all links ending with 'http' using BeautifulSoup.
  assert crawl("https://www.example.com") == ["https://www.iana.org/domains/example"]
  assert crawl("https://www.python.org") == ["https://docs.python.org/3/", "https://pypi.org/"]
output: def crawl(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      links = []
      for link in soup.find_all('a', href=True):
          if link['href'].endswith('http'):
              links.append(link['href'])
      
      return links