input: Write a python function to extract all the <h1> tags from a webpage using BeautifulSoup.
  assert extract_h1_tags('https://example.com/') == ['Example Domain']
  assert extract_h1_tags('https://www.w3.org/') == ['World Wide Web Consortium (W3C)']
  assert extract_h1_tags('https://www.python.org/') == ['Welcome to Python.org']
output: def extract_h1_tags(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      h1_tags = [h1.get_text() for h1 in soup.find_all('h1')]
      return h1_tags