input: Write a python function to extract and print all text from a given URL.
  assert extract_text_from_url("https://example.com") == ["Example Domain", "This domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.", "More information..."]
  assert extract_text_from_url("https://www.wikipedia.org") == ["Wikipedia", "The Free Encyclopedia", "English", "Español", "Deutsch", "Français", "Italiano", "日本語", "Русский", "中文", "Português", "العربية", "The Free Encyclopedia", "Read Wikipedia in your language"]
  assert extract_text_from_url("https://www.python.org") == ["Welcome to Python.org", "Notice: ..."]
output: def extract_text_from_url(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
  
      texts = [element.get_text() for element in soup.find_all(text=True) if element.strip()]
      return texts