input: Write a function to extract and print all text content from a given URL.
  assert extract_text("https://www.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("https://www.example2.com") == ["Example2 Domain", "Content on example2 for testing.", "Other information..."]
output: def extract_text(url):
      import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url)
      soup = BeautifulSoup(response.content, 'html.parser')
      
      texts = []
      for element in soup.stripped_strings:
          texts.append(element)
      
      return texts