input: Write a python function to extract and return all text within <h2> tags from a given URL.
  assert extract_h2_texts('https://example.com') == ['Example Domain']
  assert extract_h2_texts('https://www.wikipedia.org/') == ['The Free Encyclopedia']
  assert extract_h2_texts('https://www.python.org/') == ['Welcome to Python.org']
output: def extract_h2_texts(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      h2_tags = soup.find_all('h2')
      
      return [tag.get_text().strip() for tag in h2_tags]