input: Write a python function to extract email addresses from a given web page using BeautifulSoup.
  assert extract_emails('https://example.com/page') == ['email1@example.com', 'email2@example.com']
  assert extract_emails('https://anotherexample.com/contact') == ['contact@anotherexample.com']
  assert extract_emails('https://sitewithnoemails.com') == []
output: import requests
  from bs4 import BeautifulSoup
  import re
  
  def extract_emails(url):
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      text = soup.get_text()
      emails = re.findall(r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b', text)
      return emails